Trying to fix. Version 2.0.4

This commit is contained in:
Alejandro Lembke Barrientos 2024-02-15 04:07:06 +00:00
parent 3cee54d519
commit d8a291c82d
3 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -1 +1 @@
2.0.3
2.0.4