Browse Source

build: remove the reuse of cargo cache

master^2
dnomd343 2 years ago
parent
commit
8937d51a1f
  1. 1
      Dockerfile

1
Dockerfile

@ -168,7 +168,6 @@ RUN git submodule update --init --recursive && \
./autogen.sh && ./configure --disable-documentation && make && \ ./autogen.sh && ./configure --disable-documentation && make && \
mv ./src/obfs-local ./src/obfs-server /plugins/ mv ./src/obfs-local ./src/obfs-server /plugins/
# Compile qtun # Compile qtun
COPY --from=ss-rust /usr/local/cargo/registry/ /usr/local/cargo/registry/
WORKDIR ../qtun/ WORKDIR ../qtun/
RUN cargo fetch RUN cargo fetch
RUN cargo build --target-dir ./ --release && \ RUN cargo build --target-dir ./ --release && \

Loading…
Cancel
Save