mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-09 13:16:48 -06:00
Trying to fix. Version 2.0.4
This commit is contained in:
parent
3cee54d519
commit
d8a291c82d
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -1 +1 @@
|
||||
2.0.3
|
||||
2.0.4
|
Loading…
Reference in New Issue
Block a user