Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
brunojppb committed Oct 30, 2024
1 parent 9888cf1 commit 2249456
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 @@ -2,8 +2,8 @@
# let's cross-compile using musl so the binary is statically linked with the right dependencies
# See: https://users.rust-lang.org/t/unable-to-run-compiled-program/88441/5
# See: https://github.com/rust-cross/rust-musl-cross
# See: https://hub.docker.com/layers/messense/rust-musl-cross/x86_64-musl/images/sha256-740c62dd2e08746df5fafa3fa47f5f2b0afb231c911e8b929c584d93c3baacae?context=explore
FROM messense/rust-musl-cross@sha256:47306f9557003a9cb1c63f5229c8276bc75e3bcf2be51e0d00f4abcc65fffaa4 as builder
# See: https://hub.docker.com/layers/messense/rust-musl-cross/aarch64-musl/images/sha256-bfcd06fbe849dbd90a7d3aef1454b0d7ffde9b2a89478bc4242c8d1b3592d560?context=explore
FROM messense/rust-musl-cross@sha256:sha256:799ee1796a7a7ac42d6b7769959325f726c2a56a765e9233f859cac28cddb20f as builder
WORKDIR /app
COPY . /app
RUN cargo build --verbose --release

0 comments on commit 2249456

Please sign in to comment.