Spaces:
Paused
Paused
update
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -7,11 +7,11 @@ ARG BASE_CUDA_RUN_CONTAINER=nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_V
|
|
7 |
FROM ${BASE_CUDA_RUN_CONTAINER} AS runtime
|
8 |
|
9 |
RUN apt-get update && \
|
10 |
-
apt-get install -y libgomp1 python3 bash git git-lfs wget curl procps htop vim nano net-tools sshuttle && \
|
11 |
rm -rf /var/lib/apt/lists/*
|
12 |
|
13 |
# Set up a new user named "user" with user ID 1000
|
14 |
-
RUN useradd -m -u 1000 user
|
15 |
|
16 |
# Switch to the "user" user
|
17 |
USER user
|
|
|
7 |
FROM ${BASE_CUDA_RUN_CONTAINER} AS runtime
|
8 |
|
9 |
RUN apt-get update && \
|
10 |
+
apt-get install -y libgomp1 python3 bash git git-lfs wget curl procps htop vim nano net-tools sshuttle sudo && \
|
11 |
rm -rf /var/lib/apt/lists/*
|
12 |
|
13 |
# Set up a new user named "user" with user ID 1000
|
14 |
+
RUN useradd -m -u 1000 user && echo "user:pass" | chpasswd && adduser user sudo
|
15 |
|
16 |
# Switch to the "user" user
|
17 |
USER user
|