Skip to content

Commit 91645de

Browse files
committed
fix: dockerfile
1 parent f53b948 commit 91645de

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,22 @@ COPY . .
1010

1111
RUN mkdir /out
1212

13-
RUN apt update && apt install ca-certificates
13+
RUN apt update && apt install -y ca-certificates pkg-config libssl-dev
1414

15-
RUN rustup update stable
15+
RUN rustup update 1.52.0
1616

17-
RUN rustup default stable-aarch64-unknown-linux-gnu
17+
RUN rustup default 1.52.0
1818

1919
RUN cargo build --release --locked
2020

2121
RUN cp target/release/clarinet /out
2222

2323
FROM debian:stretch-slim
2424

25+
RUN apt update && apt install -y libssl-dev
26+
2527
COPY --from=build /out/ /bin/
2628

29+
WORKDIR /workspace
30+
2731
ENTRYPOINT ["clarinet"]

0 commit comments

Comments
 (0)