Skip to content

Commit

Permalink
Include Cargo.lock in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
willcrichton committed Aug 30, 2024
1 parent 7323eb5 commit a98889a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ RUN rustup set profile minimal && \
rustup toolchain uninstall stable && \
rustup component add --toolchain nightly-2023-08-25 \
--target x86_64-unknown-linux-musl \
rust-src rustc-dev llvm-tools-preview
rust-src rustc-dev llvm-tools-preview miri

RUN apk add --no-cache build-base musl-dev libc-dev linux-headers

WORKDIR /aquascope

COPY Cargo.toml rust-toolchain.toml ./
COPY Cargo.toml Cargo.lock rust-toolchain.toml ./
COPY crates ./crates

ENV TARGET_CC=x86_64-linux-musl-gcc
Expand Down

0 comments on commit a98889a

Please sign in to comment.