Skip to content

Commit

Permalink
Remove apt-get cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieoliver committed Oct 4, 2024
1 parent e3b7f26 commit 2b25b95
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ WORKDIR /root
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
RUN dpkg -i cuda-keyring_1.1-1_all.deb

RUN rm -f /etc/apt/apt.conf.d/docker-clean
RUN --mount=type=cache,target=/var/lib/apt/lists \
--mount=type=cache,target=/var/cache/apt \
apt-get update && apt-get install -y \
RUN apt-get update && apt-get install -y \
cuda-toolkit-12-6

RUN python -m venv create jupyter
Expand Down

0 comments on commit 2b25b95

Please sign in to comment.