Browse Source

fix: remove redundant `/`

master
dnomd343 2 years ago
parent
commit
05d450d445
  1. 4
      Dockerfile

4
Dockerfile

@ -166,12 +166,12 @@ RUN git clone https://github.com/shadowsocks/qtun.git && \
WORKDIR ./simple-obfs/
RUN git submodule update --init --recursive && \
./autogen.sh && ./configure --disable-documentation && make && \
mv ./src//obfs-local ./src//obfs-server /plugins/
mv ./src/obfs-local ./src/obfs-server /plugins/
# Compile qtun
WORKDIR ../qtun/
RUN cargo update
RUN cargo build --target-dir ./ --release && \
mv ./release//qtun-client ./release//qtun-server /plugins/ && \
mv ./release/qtun-client ./release/qtun-server /plugins/ && \
strip /plugins/*
COPY --from=upx /upx/ /usr/
RUN upx -9 /plugins/qtun-*

Loading…
Cancel
Save