Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
GlebRyabtsev committed Sep 17, 2024
1 parent 2e42716 commit fc848d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/Dockerfile.workstation
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/
RUN mkdir /var/run/sshd
EXPOSE 22

RUN useradd -m -s /bin/bash ${USER_NAME}
RUN adduser ${USER_NAME}
RUN echo "${USER_NAME}:${USER_PASSWORD}" | chpasswd
RUN usermod -aG sudo ${USER_NAME}

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ fi

docker build --build-arg BASE_IMAGE=tauv/x86-nvidia-common --build-arg USER_NAME="$USER" --build-arg USER_PASSWORD="$PASSWORD" --file apps/Dockerfile.workstation --tag tauv/x86-nvidia-workstation .

echo -e "\n\n\nFinished building the workstation image.\nYour SSH port is 22$(id -u | rev | cut -c1-3 | re)."
echo -e "\n\n\nFinished building the workstation image.\nYour SSH port is 22$(id -u | rev | cut -c1-3 | rev)."

0 comments on commit fc848d3

Please sign in to comment.