Skip to content

Commit

Permalink
chore: upgrade docker runtime lib
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Mar 27, 2024
1 parent 08ebcef commit 9396d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM rust:1.77-slim-bullseye as builder

RUN sed -i 's|deb.debian.org|mirrors.ustc.edu.cn|g' /etc/apt/sources.list
RUN apt update && apt install -y pkg-config libssl-dev libpq-dev

WORKDIR /usr/src/etherface
Expand All @@ -10,4 +9,5 @@ COPY . .
RUN cargo build --release

FROM debian:bullseye-slim
RUN apt update && apt install -y libpq5
COPY --from=builder /usr/src/etherface/target/release/etherface* /usr/local/bin/

0 comments on commit 9396d52

Please sign in to comment.