Skip to content

Commit 677fa63

Browse files
committed
Fix docker image building
1 parent 5690eb2 commit 677fa63

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1-buster AS builder
1+
FROM --platform=$BUILDPLATFORM rust:1-buster AS builder
22

33
RUN apt-get update && apt-get install cmake -y
44

@@ -8,8 +8,9 @@ COPY . .
88

99
RUN cargo install --locked --path=.
1010

11+
FROM --platform=$BUILDPLATFORM debian:buster
1112

12-
FROM debian:buster-slim
13+
RUN apt-get update && apt-get install openssl -y && apt-get clean
1314

1415
COPY --from=builder /usr/local/cargo/bin/esdump-rs /usr/local/bin/esdump-rs
1516

0 commit comments

Comments
 (0)