Skip to content

Commit

Permalink
fix alpine image from erroring
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Feb 23, 2024
1 parent 104745a commit 857b75a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion distribution/docker/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ RUN rm rust-toolchain.toml

# First, we create an empty Rust project so that dependencies can be cached.
COPY Cargo.toml .
COPY Cargo.lock .

RUN mkdir -p src/ && echo "fn main() {}" > src/dummy.rs && sed -i 's#src/bin/main.rs#src/dummy.rs#' Cargo.toml
RUN --mount=type=cache,target=/build/target/ \
Expand Down

0 comments on commit 857b75a

Please sign in to comment.