| 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 set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase wget tzdata ; rm -rf /var/lib/apt/lists/* # buildkit |
| LABEL dev.containers.features=common |
| ARG VARIANT |
| RUN |1 VARIANT=jammy /bin/sh -c if [ "$VARIANT" = "noble" ]; then if id "ubuntu" &>/dev/null; then echo "Deleting user 'ubuntu' for $VARIANT" && userdel -f -r ubuntu || echo "Failed to delete ubuntu user for $VARIANT"; else echo "User 'ubuntu' does not exist for $VARIANT"; fi; fi # buildkit |
| COPY meta.env /usr/local/etc/vscode-dev-containers/ # buildkit |
| LABEL version=2.1.2 |
| LABEL dev.containers.id=base-ubuntu |
| LABEL dev.containers.variant=jammy |
| LABEL dev.containers.release=v0.4.21 |
| LABEL dev.containers.source=https://github.com/devcontainers/images |
| LABEL dev.containers.timestamp=Thu, 27 Nov 2025 10:30:19 GMT |
| USER root |
| RUN /bin/sh -c mkdir -p /tmp/dev-container-features # buildkit |
| COPY /tmp/build-features/ /tmp/dev-container-features # buildkit |
| RUN /bin/sh -c echo "_CONTAINER_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env && echo "_REMOTE_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env # buildkit |
| RUN /bin/sh -c cp -ar /tmp/build-features-src/common-utils_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/common-utils_0 && cd /tmp/dev-container-features/common-utils_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/common-utils_0 # buildkit |
| RUN /bin/sh -c cp -ar /tmp/build-features-src/git_1 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/git_1 && cd /tmp/dev-container-features/git_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/git_1 # buildkit |
| ARG _DEV_CONTAINERS_IMAGE_USER=root |
| USER root |
| LABEL devcontainer.metadata=[ {"id":"ghcr.io/devcontainers/features/common-utils:2"}, {"id":"ghcr.io/devcontainers/features/git:1","customizations":{"vscode":{"settings":{"github.copilot.chat.codeGeneration.instructions":[{"text":"This dev container includes an up-to-date version of Git, built from source as needed, pre-installed and available on the `PATH`."}]}}}}, {"remoteUser":"vscode"} ] |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt-get update && apt-get install -y curl wget git python3 python3-pip jq ca-certificates software-properties-common ansible rclone rsync && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && rm kubectl # buildkit |
| RUN /bin/sh -c curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash # buildkit |
| RUN /bin/sh -c wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && chmod +x /usr/bin/yq # buildkit |
| RUN /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs && npm install -g npm@latest # buildkit |
| RUN /bin/sh -c mkdir /tmp/act && curl -s https://api.github.com/repos/nektos/act/releases/latest | grep "browser_download_url.*act_Linux_x86_64.tar.gz" | cut -d '"' -f 4 | wget -O /tmp/act/act.tar.gz -i - && tar -xzf /tmp/act/act.tar.gz -C /tmp/act && install -m 0755 /tmp/act/act /usr/local/bin/act && rm -r /tmp/act # buildkit |
| RUN /bin/sh -c mkdir /tmp/chroma && curl -s https://api.github.com/repos/alecthomas/chroma/releases/latest | grep "browser_download_url.*linux-amd64.*tar.gz" | cut -d '"' -f 4 | wget -O /tmp/chroma/chroma.tar.gz -i - && tar -xzf /tmp/chroma/chroma.tar.gz -C /tmp/chroma && install -m 0755 /tmp/chroma/chroma /usr/local/bin/chroma && rm -r /tmp/chroma # buildkit |
| RUN /bin/sh -c chsh -s /usr/bin/zsh vscode # buildkit |
| RUN /bin/sh -c git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git /home/vscode/.oh-my-zsh/custom/plugins/fast-syntax-highlighting # buildkit |
| RUN /bin/sh -c git clone https://github.com/zsh-users/zsh-autosuggestions /home/vscode/.oh-my-zsh/custom/plugins/zsh-autosuggestions # buildkit |
| RUN /bin/sh -c pip install openshift pyyaml # buildkit |
| COPY ./assets/.zshrc /home/vscode # buildkit |