Skip to content

Commit

Permalink
fix: remote-desktop 7_remove vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
EveningStarlight committed Dec 18, 2024
1 parent 3f907e7 commit e773627
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions images/remote-desktop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -522,14 +522,6 @@ RUN chown -R $NB_USER /home/$NB_USER
USER $NB_USER
COPY --chown=$NB_USER:100 nginx.conf /etc/nginx/nginx.conf


# 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

0 comments on commit e773627

Please sign in to comment.