diff --git a/Dockerfile b/Dockerfile index 6678e84..9b7705a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN sudo apt-get install -y wget #Instalando jq RUN sudo apt-get install -y jq -RUN adduser --uid 1001 --gecos '' --disabled-password vscode \ +RUN adduser --gecos '' --disabled-password vscode \ && echo "vscode ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd RUN ARCH="$(dpkg --print-architecture)" \ @@ -44,7 +44,7 @@ RUN sudo sysctl -w fs.inotify.max_user_watches=524288 ADD ./entrypoint.sh /usr/bin/entrypoint.sh RUN sudo chmod +x /usr/bin/entrypoint.sh -USER 1000 +#USER 1000 ENV USER=vscode WORKDIR /home/vscode diff --git a/entrypoint.sh b/entrypoint.sh index 7dcbae0..a09c284 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,9 +13,6 @@ fi # Otherwise the current container UID may not exist in the passwd database. eval "$(fixuid -q)" -echo "HOME_USER: ${HOME_USER}" -echo "whoami: $(whoami)" - if [ "${HOME_USER-}" ]; then USER="$HOME_USER" if [ "$HOME_USER" != "$(whoami)" ]; then diff --git a/version.txt b/version.txt index 6acdb44..26e3379 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.3 \ No newline at end of file +2.0.4 \ No newline at end of file