From faa6ab21adfdf0c41d4225861d45ddc153d3da38 Mon Sep 17 00:00:00 2001 From: Ahmed Ilyas Date: Tue, 1 Oct 2024 10:40:40 +0200 Subject: [PATCH] Install using apt-get --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1335771..967ec04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -127,11 +127,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] USER root -RUN apt update \ - && apt install --yes --quiet --no-install-recommends \ - libmagic-dev \ - && rm -rf /var/lib/apt/lists/* - +RUN apt-get update \ + && apt-get install --yes --quiet --no-install-recommends \ + libmagic1 \ + # clean cache and logs + && rm -rf /var/lib/apt/lists/* /var/log/* /var/tmp/* ~/.npm # Switch back to jovyan to avoid accidental container runs as root USER ${NB_UID}