Skip to content

Commit

Permalink
Add cargo fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Oct 15, 2023
1 parent fcad7c6 commit e611834
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN \
rm /tmp/hickory-dns.tar.gz;

RUN apk add --no-cache --update rust cargo musl-dev openssl-dev pkgconfig
RUN cargo fetch
RUN cargo test --release
# https://users.rust-lang.org/t/sigsegv-with-program-linked-against-openssl-in-an-alpine-container/52172
RUN RUSTFLAGS="-C target-feature=-crt-static" cargo build --release --no-default-features --features $FEATURES
Expand Down

0 comments on commit e611834

Please sign in to comment.