From 05495df903f7c6674f597c00791c79291cc2a090 Mon Sep 17 00:00:00 2001 From: incubator4 Date: Tue, 27 Feb 2024 21:48:17 +0800 Subject: [PATCH] chore: fix dockerfile --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 38e548f..e136461 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,11 @@ WORKDIR /usr/src COPY Cargo.toml Cargo.lock ./ COPY src ./src -RUN apt update && \ - apt install -y \ - libssl-dev \ +RUN apt-get update && \ + apt-get install -y \ + libssl-dev + +RUN apt update && apt install -y \ pkg-config RUN --mount=type=cache,target=/usr/local/cargo/registry \