fffiloni commited on
Commit
bcd622e
·
1 Parent(s): 9efdcd0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -1,8 +1,10 @@
1
  # Use an official PyTorch image with CUDA support as the base image
2
  FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime
3
 
4
- # Install Git
5
- RUN apt-get update && apt-get install -y git
 
 
6
 
7
  # Set up a new user named "user" with user ID 1000
8
  RUN useradd -m -u 1000 user
 
1
  # Use an official PyTorch image with CUDA support as the base image
2
  FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime
3
 
4
+ # Install Git and system libraries required for OpenGL
5
+ RUN apt-get update && apt-get install -y git \
6
+ libgl1-mesa-glx \
7
+ libglib2.0-0
8
 
9
  # Set up a new user named "user" with user ID 1000
10
  RUN useradd -m -u 1000 user