Skip to content

Commit

Permalink
fix: chpasswd
Browse files Browse the repository at this point in the history
Ora il comando per cambiare password viene eseguito all'inizio del Dockerfile per tutti e due gli utenti (root e jovyan)
  • Loading branch information
ncvescera authored Jul 31, 2023
1 parent 4948a73 commit ed36cff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM kubeflownotebookswg/jupyter-pytorch-cuda-full:v1.7.0

USER root
RUN echo "jovyan:1234patata" | chpasswd
RUN echo "root:1234patata" | chpasswd

RUN echo "${USER}:1234patata" | chpasswd
USER root

RUN apt-get update -y
RUN apt-get upgrade -y
Expand Down

0 comments on commit ed36cff

Please sign in to comment.