Skip to content

Commit

Permalink
Trying to compress steps to let github docker push successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
nitz-uglabs committed Apr 20, 2024
1 parent 9c6eb95 commit b06facd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
FROM archlinux
RUN pacman -Syu --noconfirm
RUN pacman -S --noconfirm python python-pip cudnn python-pytorch python-numpy
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman pacman -Syu --noconfirm && pacman -S --noconfirm python python-pip cudnn python-pytorch python-numpy

# configure nvidia container runtime
# https://github.com/NVIDIA/nvidia-container-runtime#environment-variables-oci-spec
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility

0 comments on commit b06facd

Please sign in to comment.