Skip to content

Commit

Permalink
upgrade after the key swap for nvidia
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Jul 2, 2024
1 parent 8ebadf2 commit c94e983
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile.delft
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ FROM tensorflow/tensorflow:2.7.0-gpu
ENV LANG C.UTF-8

# update NVIDIA Cuda key (following a key rotation in April 2022)
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y wget && \
RUN apt-get install -y wget && \
apt-key del 7fa2af80 && \
rm /etc/apt/sources.list.d/cuda.list && \
rm /etc/apt/sources.list.d/nvidia-ml.list && \
Expand All @@ -88,7 +86,9 @@ RUN chmod +x /tini
ENTRYPOINT ["/tini", "-s", "--"]

# install JRE, python and other dependencies
RUN apt-get -y --no-install-recommends install apt-utils build-essential gcc libxml2 libfontconfig unzip curl \
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y --no-install-recommends install apt-utils build-essential gcc libxml2 libfontconfig unzip curl \
openjdk-17-jre-headless ca-certificates-java \
musl gfortran \
python3 python3-pip python3-setuptools python3-dev \
Expand Down

0 comments on commit c94e983

Please sign in to comment.