Block a user
vscode (sha256:23e7d9728dc0bf71b543c9df98be25b16bdb74f0b934cbaa60e915ca457d4235)
Installation
docker pull gitea.p-lao.com/aleleba/vscode@sha256:23e7d9728dc0bf71b543c9df98be25b16bdb74f0b934cbaa60e915ca457d4235sha256:23e7d9728dc0bf71b543c9df98be25b16bdb74f0b934cbaa60e915ca457d4235Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:d025507456f1d7d19195885b1c02a346454d60c9348cbd3be92431f2d7e2666e 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 |