Skip to content

Commit

Permalink
fix docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
legokichi committed May 8, 2023
1 parent c2e82b4 commit 13c6f23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.x86_64
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM ekidd/rust-musl-builder:1.50.0 AS builder
FROM rust:1.67.1 AS builder

COPY src src
COPY rust-toolchain .
COPY Cargo.toml .
COPY Cargo.lock .

RUN cargo build --release && \
strip /home/rust/src/target/x86_64-unknown-linux-musl/release/gatekeeperd
strip /home/rust/src/target/release/gatekeeperd

FROM scratch

COPY --from=builder /home/rust/src/target/x86_64-unknown-linux-musl/release/gatekeeperd /
COPY --from=builder /home/rust/src/target/release/gatekeeperd /

EXPOSE 1080

Expand Down

0 comments on commit 13c6f23

Please # to comment.