Skip to content
Snippets Groups Projects

docker: save a few minutes of build time

Merged pini requested to merge pini-docker into dev
All threads resolved!
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -18,12 +18,12 @@ RUN apk update && \
WORKDIR /duniter
# copy source tree
COPY ./ ./
# install latest stable rust
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
# copy source tree
COPY ./ ./
# build duniter
RUN PATH=${HOME}/.cargo/bin:${PATH} \
RUSTFLAGS="-C target-feature=-crt-static -L/usr/lib" \
Loading