Skip to content
Snippets Groups Projects
Commit 97368943 authored by Byungheong Jeong's avatar Byungheong Jeong
Browse files

Update Dockerfile

parent 87865706
No related branches found
No related tags found
No related merge requests found
Pipeline #13861 failed
......@@ -6,6 +6,9 @@ ENV NB_USER keras
ENV NB_UID 1000
# RUN mkdir /userdata/kerasData
RUN apt-get update && \
apt-get -y install sudo
RUN useradd -m -s /bin/bash -N -u $NB_UID $NB_USER && \
# chown $NB_USER $CONDA_DIR -R && \
# chown $NB_USER /userdata/kerasData -R && \
......@@ -14,7 +17,8 @@ RUN useradd -m -s /bin/bash -N -u $NB_UID $NB_USER && \
chpasswd $NB_USER:ar-noc && \
usermod -aG sudo $NB_USER
RUN apt-get install sudo -y && \
RUN adduser docker sudo
USER $NB_USER
RUN sudo ls
WORKDIR /userdata/kerasData
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment