Skip to content
Snippets Groups Projects
Commit 03acf3e9 authored by pini's avatar pini
Browse files

Merge branch 'pini-docker' into 'dev'

docker: save a few minutes of build time

See merge request !1416
parents 67174a26 0376ca6a
No related branches found
No related tags found
1 merge request!1416docker: save a few minutes of build time
Pipeline #22403 passed
...@@ -18,12 +18,12 @@ RUN apk update && \ ...@@ -18,12 +18,12 @@ RUN apk update && \
WORKDIR /duniter WORKDIR /duniter
# copy source tree
COPY ./ ./
# install latest stable rust # install latest stable rust
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
# copy source tree
COPY ./ ./
# build duniter # build duniter
RUN PATH=${HOME}/.cargo/bin:${PATH} \ RUN PATH=${HOME}/.cargo/bin:${PATH} \
RUSTFLAGS="-C target-feature=-crt-static -L/usr/lib" \ RUSTFLAGS="-C target-feature=-crt-static -L/usr/lib" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment