mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-09 05:06:46 -06:00
Trying to fix entrypoint.sh Updating to version 1.0.8
This commit is contained in:
parent
c189c21474
commit
ff85878b7e
@ -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
|
# Update the package list, install sudo, create a non-root user, and grant password-less sudo permissions
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install -y sudo
|
RUN apt install -y sudo
|
||||||
RUN addgroup nonroot
|
|
||||||
|
|
||||||
RUN sudo apt-get update
|
RUN sudo apt-get update
|
||||||
#Instalando Curl
|
#Instalando Curl
|
||||||
|
@ -3,8 +3,10 @@ if [[ -z "${HOME_USER}" ]]; then
|
|||||||
HOME_USER="vscode"
|
HOME_USER="vscode"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
addgroup nonroot
|
||||||
adduser --disabled-password --gecos "" ${HOME_USER}
|
adduser --disabled-password --gecos "" ${HOME_USER}
|
||||||
echo "${HOME_USER} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
echo "${HOME_USER} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||||
|
|
||||||
sudo su - ${HOME_USER}
|
sudo su - ${HOME_USER}
|
||||||
|
|
||||||
if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then
|
if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then
|
||||||
|
@ -1 +1 @@
|
|||||||
1.0.7
|
1.0.8
|
Loading…
Reference in New Issue
Block a user