Skip to content

Commit

Permalink
fix: Use apt-get, as apt is a user command
Browse files Browse the repository at this point in the history
According to hadolint.
  • Loading branch information
amolenaar committed Aug 30, 2023
1 parent 47e21c7 commit 4b9c924
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ease/debug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN if [ "$NETWORK_ACCESS" = "restricted" ]; then \
| dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg && \
echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main' \
| tee /etc/apt/sources.list.d/vscodium.list && \
apt-get update && apt install -y codium; \
apt-get update && apt-get install -y codium; \
fi && \
rm -rf /var/lib/apt/lists/* && \
rm -r /tmp/libs;
4 changes: 2 additions & 2 deletions jupyter-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
ARG BASE_IMAGE=base
FROM $BASE_IMAGE

RUN apt update && \
apt install --yes --no-install-recommends \
RUN apt-get update && \
apt-get install --yes --no-install-recommends \
git \
git-lfs \
libgirepository1.0-dev \
Expand Down

0 comments on commit 4b9c924

Please sign in to comment.