Skip to content

Commit

Permalink
fix: dependancies
Browse files Browse the repository at this point in the history
  • Loading branch information
EveningStarlight committed Dec 10, 2024
1 parent f1f6d52 commit c5ab2c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions images/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,6 @@ RUN apt-get update && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER

# Remove libpdfbox-java due to CVE-2019-0228. See https://github.com/StatCan/aaw-kubeflow-containers/issues/249#issuecomment-834808115 for details.
# Issue opened https://github.com/jupyter/docker-stacks/issues/1299.
# This line of code should be removed once a solution or better alternative is found.
RUN apt-get update --yes \
&& dpkg -r --force-depends libpdfbox-java \
&& rm -rf /var/lib/apt/lists/*

# Forcibly upgrade packages to patch vulnerabilities
# See https://github.com/StatCan/aaw-private/issues/58#issuecomment-1471863092 for more details.
RUN pip3 --no-cache-dir install --quiet \
Expand Down
2 changes: 1 addition & 1 deletion images/jupyterlab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN wget -q "${VSCODE_URL}" -O ./vscode.deb \
&& echo "${VSCODE_SHA} ./vscode.deb" | sha256sum -c - \
&& wget -q https://github.com/microsoft/vscode-cpptools/releases/download/v1.17.5/cpptools-linux.vsix \
&& apt-get update \
&& apt-get install -y nginx build-essential gdb \
&& apt-get install -y nginx-core nginx build-essential gdb \
&& dpkg -i ./vscode.deb \
&& rm ./vscode.deb \
&& rm -f /etc/apt/sources.list.d/vscode.list \
Expand Down

0 comments on commit c5ab2c9

Please sign in to comment.