Compare commits

..

6 Commits

3 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,6 @@ FROM ubuntu:22.04
# Update the package list, install sudo, create a non-root user, and grant password-less sudo permissions
RUN apt update
RUN apt install -y sudo
RUN addgroup nonroot
RUN sudo apt-get update
#Instalando Curl

View File

@ -3,12 +3,12 @@ if [[ -z "${HOME_USER}" ]]; then
HOME_USER="vscode"
fi
addgroup nonroot
adduser --disabled-password --gecos "" ${HOME_USER}
echo "${HOME_USER} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
sudo su - ${HOME_USER}
if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then
code-server tunnel --accept-server-license-terms
sudo su - ${HOME_USER} -c code tunnel --accept-server-license-terms
else
code-server tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}
sudo su - ${HOME_USER} -c code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}
fi

View File

@ -1 +1 @@
1.0.7
1.0.13