mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-19 04:18:11 -06:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
9bac2433a6 | |||
d8a291c82d | |||
3cee54d519 | |||
f68ef82de3 |
10
Dockerfile
10
Dockerfile
@ -13,7 +13,7 @@ RUN sudo apt-get install -y wget
|
|||||||
RUN sudo apt-get install -y jq
|
RUN sudo apt-get install -y jq
|
||||||
|
|
||||||
RUN adduser --gecos '' --disabled-password vscode \
|
RUN adduser --gecos '' --disabled-password vscode \
|
||||||
&& echo "vscode ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd
|
&& echo "vscode ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd
|
||||||
|
|
||||||
RUN ARCH="$(dpkg --print-architecture)" \
|
RUN ARCH="$(dpkg --print-architecture)" \
|
||||||
&& curl -fsSL "https://github.com/boxboat/fixuid/releases/download/v0.6.0/fixuid-0.6.0-linux-$ARCH.tar.gz" | tar -C /usr/local/bin -xzf - \
|
&& curl -fsSL "https://github.com/boxboat/fixuid/releases/download/v0.6.0/fixuid-0.6.0-linux-$ARCH.tar.gz" | tar -C /usr/local/bin -xzf - \
|
||||||
@ -22,10 +22,6 @@ RUN ARCH="$(dpkg --print-architecture)" \
|
|||||||
&& mkdir -p /etc/fixuid \
|
&& mkdir -p /etc/fixuid \
|
||||||
&& printf "user: vscode\ngroup: vscode\n" > /etc/fixuid/config.yml
|
&& printf "user: vscode\ngroup: vscode\n" > /etc/fixuid/config.yml
|
||||||
|
|
||||||
USER 1000
|
|
||||||
ENV USER=vscode
|
|
||||||
WORKDIR /home/vscode
|
|
||||||
|
|
||||||
#Instalando devtunnel
|
#Instalando devtunnel
|
||||||
#Comandos que no se deben olvidar correr al crear el devtunnel
|
#Comandos que no se deben olvidar correr al crear el devtunnel
|
||||||
#devtunnel user login -g -d
|
#devtunnel user login -g -d
|
||||||
@ -48,4 +44,8 @@ RUN sudo sysctl -w fs.inotify.max_user_watches=524288
|
|||||||
ADD ./entrypoint.sh /usr/bin/entrypoint.sh
|
ADD ./entrypoint.sh /usr/bin/entrypoint.sh
|
||||||
RUN sudo chmod +x /usr/bin/entrypoint.sh
|
RUN sudo chmod +x /usr/bin/entrypoint.sh
|
||||||
|
|
||||||
|
USER 1000
|
||||||
|
ENV USER=vscode
|
||||||
|
WORKDIR /home/vscode
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
|
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
|
@ -1 +1 @@
|
|||||||
2.0.1
|
2.0.5
|
Reference in New Issue
Block a user