Skip to content

Commit

Permalink
try: docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrita committed Apr 12, 2024
1 parent b46f066 commit b44b189
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM --platform=linux/amd64 messense/rust-musl-cross:${TARGETARCH}-musl as builder
FROM messense/rust-musl-cross:x86_64-musl as builder-amd64
FROM messense/rust-musl-cross:aarch64_musl as builder-aarch64

FROM --platform=linux/amd64 builder-${TARGETARCH} as builder
WORKDIR /usr/src/peerban
COPY . .
RUN cargo build --profile opt \
Expand Down

0 comments on commit b44b189

Please sign in to comment.