Skip to content

Commit 685bda8

Browse files
stamatefchollet
authored andcommitted
changed hardcoded username with variable one (keras-team#9677)
* changed hardcoded username with variable one * added variable username for installation of python packages
1 parent 5216360 commit 685bda8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ ENV NB_USER keras
2929
ENV NB_UID 1000
3030

3131
RUN useradd -m -s /bin/bash -N -u $NB_UID $NB_USER && \
32-
chown keras $CONDA_DIR -R && \
32+
chown $NB_USER $CONDA_DIR -R && \
3333
mkdir -p /src && \
34-
chown keras /src
34+
chown $NB_USER /src
3535

36-
USER keras
36+
USER $NB_USER
3737

3838
ARG python_version=3.6
3939

0 commit comments

Comments
 (0)