Block a user
vscode-server (latest)
Published 2026-07-12 21:56:06 -06:00 by aleleba
Installation
docker pull gitea.p-lao.com/aleleba/vscode-server:latestsha256:8f41597bb8a4557f8608ebff446de3e06c5fb7aeb8ce91ba0b05ba0db697579d
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 7f6f037f79 | linux/amd64 | 3.2 GiB |
| efbc4be2b8 | linux/arm64 | 2.4 GiB |
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"] |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c sudo rm -f /etc/apt/sources.list.d/vscode.list /etc/apt/sources.list.d/vscode.sources # buildkit |
| RUN /bin/sh -c sudo apt-get update # buildkit |
| RUN /bin/sh -c sudo apt-get install -y curl ca-certificates apt-transport-https lxc iptables python3-pip openjdk-17-jdk unzip ninja-build libxss1 quilt vim cmake build-essential tmux && sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c type -p curl >/dev/null || sudo apt install curl -y # buildkit |
| RUN /bin/sh -c curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null && sudo apt-get update && sudo apt-get install -y gh # buildkit |
| ENV NVM_DIR=/usr/local/nvm |
| SHELL [/bin/bash -o pipefail -c] |
| ENV BASH_ENV=/root/.bash_env |
| RUN /bin/bash -o pipefail -c mkdir -p "${NVM_DIR}" # buildkit |
| RUN /bin/bash -o pipefail -c touch "${BASH_ENV}" # buildkit |
| RUN /bin/bash -o pipefail -c echo '. "${BASH_ENV}"' >> ~/.bashrc # buildkit |
| RUN /bin/bash -o pipefail -c curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | PROFILE="${BASH_ENV}" bash # buildkit |
| RUN /bin/bash -o pipefail -c echo node > .nvmrc # buildkit |
| RUN /bin/bash -o pipefail -c nvm install --lts # buildkit |
| RUN /bin/bash -o pipefail -c nvm alias default lts/* # buildkit |
| RUN /bin/bash -o pipefail -c nvm use default && npm install -g yo generator-code @vscode/vsce yarn # buildkit |
| RUN /bin/bash -o pipefail -c chmod -R a+rX $NVM_DIR # buildkit |
| SHELL [/bin/sh -c] |
| RUN /bin/sh -c curl -sSL https://get.docker.com/ | sh # buildkit |
| VOLUME [/var/lib/docker] |
| RUN /bin/sh -c sudo printf '#!/bin/sh\nexec docker compose "$@"\n' | sudo tee /usr/local/bin/docker-compose > /dev/null && sudo chmod +x /usr/local/bin/docker-compose # buildkit |
| RUN /bin/sh -c docker-compose --version # buildkit |
| RUN /bin/sh -c sudo mkdir -p /etc/apt/keyrings # buildkit |
| RUN /bin/sh -c curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg # buildkit |
| RUN /bin/sh -c echo "deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /" | sudo tee /etc/apt/sources.list.d/kubernetes.list # buildkit |
| RUN /bin/sh -c sudo apt-get update && sudo apt-get install -y kubectl # buildkit |
| RUN /bin/sh -c curl -s https://fluxcd.io/install.sh | sudo bash # buildkit |
| RUN /bin/sh -c python3 -V # buildkit |
| RUN /bin/sh -c pip install --upgrade pip # buildkit |
| RUN /bin/sh -c pip install pandas numpy matplotlib requests # buildkit |
| RUN /bin/sh -c python3 -c "import pandas; print('Pandas installed')" # buildkit |
| RUN /bin/sh -c python3 -c "import numpy; print('Numpy installed')" # buildkit |
| RUN /bin/sh -c python3 -c "import matplotlib; print('Matplotlib installed')" # buildkit |
| RUN /bin/sh -c python3 -c "import requests; print('Requests installed')" # buildkit |
| ARG TARGETARCH=amd64 |
| ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 |
| ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-17-openjdk-amd64/bin |
| ENV ANDROID_HOME=/opt/android-sdk |
| ENV ANDROID_SDK_ROOT=/opt/android-sdk |
| ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-17-openjdk-amd64/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/build-tools |
| RUN |1 TARGETARCH=amd64 /bin/sh -c sudo mkdir -p $ANDROID_HOME # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c cd /tmp && wget https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip && sudo unzip commandlinetools-linux-9477386_latest.zip -d $ANDROID_HOME && sudo mv $ANDROID_HOME/cmdline-tools $ANDROID_HOME/cmdline-tools-temp && sudo mkdir -p $ANDROID_HOME/cmdline-tools/latest && sudo mv $ANDROID_HOME/cmdline-tools-temp/* $ANDROID_HOME/cmdline-tools/latest/ && sudo rm -rf $ANDROID_HOME/cmdline-tools-temp && rm commandlinetools-linux-9477386_latest.zip # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c yes | sudo $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c if [ "$(dpkg --print-architecture)" = "arm64" ]; then sudo $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "platform-tools" "platforms;android-33" "build-tools;33.0.2"; else sudo $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "platform-tools" "platforms;android-33" "build-tools;33.0.2" "emulator"; fi # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c sudo chown -R 1000:1000 $ANDROID_HOME # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c sudo chmod -R 755 $ANDROID_HOME # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c set -eux; DEB_ARCH="$(dpkg --print-architecture)"; if [ "$DEB_ARCH" = "amd64" ]; then CC_ARCH=x64; elif [ "$DEB_ARCH" = "arm64" ]; then CC_ARCH=arm64; else echo "unsupported architecture: $DEB_ARCH" >&2; exit 1; fi; CC_BASE="https://downloads.claude.ai/claude-code-releases"; CC_VERSION="$(curl -fsSL "${CC_BASE}/latest")"; CC_CHECKSUM="$(curl -fsSL "${CC_BASE}/${CC_VERSION}/manifest.json" | python3 -c "import sys,json;print(json.load(sys.stdin)['platforms']['linux-${CC_ARCH}']['checksum'])")"; curl -fsSL "${CC_BASE}/${CC_VERSION}/linux-${CC_ARCH}/claude" -o /tmp/claude; echo "${CC_CHECKSUM} /tmp/claude" | sha256sum -c -; sudo install -m 0755 -o root -g root /tmp/claude /usr/local/bin/claude; rm -f /tmp/claude; claude --version # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c sudo git clone https://github.com/emscripten-core/emsdk.git /emsdk # buildkit |
| WORKDIR /emsdk |
| RUN |1 TARGETARCH=amd64 /bin/sh -c sudo ./emsdk install latest && sudo ./emsdk activate latest # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c sudo pip install conan # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c echo | sudo tee -a /usr/bin/.bashrc > /dev/null # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c echo "export PATH=$PATH:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/build-tools" | sudo tee -a /usr/bin/.bashrc # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c echo "export JAVA_HOME=$JAVA_HOME" | sudo tee -a /usr/bin/.bashrc # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c echo "export ANDROID_HOME=/opt/android-sdk" | sudo tee -a /usr/bin/.bashrc # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c echo "export ANDROID_SDK_ROOT=/opt/android-sdk" | sudo tee -a /usr/bin/.bashrc # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c echo 'export NVM_DIR="/usr/local/nvm"' | sudo tee -a /usr/bin/.bashrc # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"' | sudo tee -a /usr/bin/.bashrc # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c echo 'nvm use default >/dev/null 2>&1' | sudo tee -a /usr/bin/.bashrc # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c echo "export EMSDK_QUIET=1" | sudo tee -a /usr/bin/.bashrc # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c echo "source /emsdk/emsdk_env.sh" | sudo tee -a /usr/bin/.bashrc # buildkit |
| RUN |1 TARGETARCH=amd64 /bin/sh -c echo 'export PATH="$HOME/.local/bin:$PATH"' | sudo tee -a /usr/bin/.bashrc # buildkit |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.title | aleleba/vscode-server,org.opencontainers.image.description=VSCode Server Container,org.opencontainers.image.url=gitea.p-lao.com/aleleba/vscode-server,org.opencontainers.image.source=gitea.p-lao.com/aleleba/vscode-server,org.opencontainers.image.revision=d811a51d3ad22b4c786ac49954c9363535956c49,org.opencontainers.image.ref.name=master,org.opencontainers.image.created=2026-07-13T03:51:07Z |
| org.opencontainers.image.version | 22.04 |
Details
2026-07-12 21:56:06 -06:00
Versions (21)
View all
Container
17
OCI / Docker
buildcache
2026-07-12
latest
2026-07-12
master-d811a51
2026-07-12
master
2026-07-12
master-187e8cb
2026-07-11