Block a user
vscode (sha256:995b18c64ebb01284eed6fa16694f807da9f0a9be66073718258e03627eb8a54)
Installation
docker pull gitea.p-lao.com/aleleba/vscode@sha256:995b18c64ebb01284eed6fa16694f807da9f0a9be66073718258e03627eb8a54
sha256:995b18c64ebb01284eed6fa16694f807da9f0a9be66073718258e03627eb8a54
Image Layers
ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:5f2c65daac761cc691b34ee3e3e2ba42ec520d71fc59aef131d38058a7891ab8 in / |
CMD ["/bin/bash"] |
RUN /bin/sh -c apt update && apt install -y sudo # buildkit |
RUN /bin/sh -c sudo apt-get update # buildkit |
RUN /bin/sh -c sudo apt-get install -y curl # buildkit |
RUN /bin/sh -c sudo apt-get install -y wget # buildkit |
RUN /bin/sh -c sudo apt-get install -y jq # buildkit |
RUN /bin/sh -c sudo apt-get update # buildkit |
RUN /bin/sh -c sudo apt-get install -y dumb-init # buildkit |
RUN /bin/sh -c 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 - && chown root:root /usr/local/bin/fixuid && chmod 4755 /usr/local/bin/fixuid && mkdir -p /etc/fixuid && printf "user: vscode\ngroup: vscode\n" > /etc/fixuid/config.yml # buildkit |
RUN /bin/sh -c curl -sL https://aka.ms/DevTunnelCliInstall | bash # buildkit |
RUN /bin/sh -c ARCH="$(dpkg --print-architecture)" && sudo apt-get update && sudo apt-get install -y gnupg2 && sudo apt-get install -y software-properties-common && sudo wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - && sudo add-apt-repository "deb [arch=${ARCH}] https://packages.microsoft.com/repos/vscode stable main" && sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y code # buildkit |
RUN /bin/sh -c sudo chmod -R a+rwX /home # buildkit |
RUN /bin/sh -c sudo sysctl -w fs.inotify.max_user_watches=524288 # buildkit |
ADD ./.bashrc /usr/bin/.bashrc # buildkit |
RUN /bin/sh -c sudo chmod +x /usr/bin/.bashrc # buildkit |
ADD ./.profile /usr/bin/.profile # buildkit |
RUN /bin/sh -c sudo chmod +x /usr/bin/.profile # buildkit |
ADD ./entrypoint.sh /usr/bin/entrypoint.sh # buildkit |
RUN /bin/sh -c sudo chmod +x /usr/bin/entrypoint.sh # buildkit |
ENTRYPOINT ["/usr/bin/entrypoint.sh"] |
Labels
Key | Value |
---|---|
org.opencontainers.image.ref.name | ubuntu |
org.opencontainers.image.version | 22.04 |