Skip to content

Commit

Permalink
Install using apt-get (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
blueraft authored Oct 1, 2024
1 parent 0bde3dd commit e75ce30
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit e75ce30

Please sign in to comment.