Block a user
vscode (latest)
Installation
docker pull gitea.p-lao.com/aleleba/vscode:latestsha256:0819c0baf2d01178e2ee6034a2ea3b647236a865bff236ebd570e035cfd2452c
Images
| Digest | OS / Arch | Size |
|---|---|---|
| e0f6eac289 | linux/amd64 | 638 MiB |
| b5ff71995d | linux/arm64 | 588 MiB |
Image Layers ( linux/amd64)
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:c5143b228eb55f19ed4d3b653ad68ec7afe54ded0247e090ce3afb9e5484adfb 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)" && case "${ARCH}" in amd64) VSCODE_ARCH="x64" ;; arm64) VSCODE_ARCH="arm64" ;; *) echo "Unsupported architecture: ${ARCH}" >&2; exit 1 ;; esac && curl -fsSL "https://update.code.visualstudio.com/latest/linux-deb-${VSCODE_ARCH}/stable" -o /tmp/vscode.deb && (sudo dpkg -i /tmp/vscode.deb || true) && sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get install -f -y && rm -f /tmp/vscode.deb # 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.version | 22.04 |