From 1e23ca988d9c5c437ad4124fe9276f7d3dc8a72b Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Thu, 20 Jul 2023 17:07:37 +0530 Subject: [PATCH] fix: run `apt-get` update before running install command for build-essential --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 734d66e..6d0894e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ RUN cargo build --release # Copy the binary into a new container for a smaller docker image FROM debian:buster-slim -RUN USER=root apt install build-essential +RUN USER=root apt-get update && apt-get install build-essential RUN wget -4c https://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.gz RUN tar -zxvf glibc-2.29.tar.gz