covscs (latest)

Published 2024-07-02 22:54:36 +00:00 by Cronocide

Installation

docker pull git.cronocide.net/cronocide/covscs:latest
sha256:e956c99f56d9b51ed8a8b9433ff2094a7f7b8ab04bb7a1e00d2eecb6b6433ed6

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:89847d76d242dea90ede05e9e1e13a1ff4400a65eafbe2d6e31e086c93893580 in /
CMD ["/bin/bash"]
/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/*
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends git sudo libatomic1 && rm -rf /var/lib/apt/lists/* # buildkit
WORKDIR /home/
ARG RELEASE_TAG
ARG RELEASE_ORG=gitpod-io
ARG OPENVSCODE_SERVER_ROOT=/home/.openvscode-server
RUN |3 RELEASE_TAG=openvscode-server-v1.90.1 RELEASE_ORG=gitpod-io OPENVSCODE_SERVER_ROOT=/home/.openvscode-server /bin/sh -c if [ -z "${RELEASE_TAG}" ]; then echo "The RELEASE_TAG build arg must be set." >&2 && exit 1; fi && arch=$(uname -m) && if [ "${arch}" = "x86_64" ]; then arch="x64"; elif [ "${arch}" = "aarch64" ]; then arch="arm64"; elif [ "${arch}" = "armv7l" ]; then arch="armhf"; fi && wget https://github.com/${RELEASE_ORG}/openvscode-server/releases/download/${RELEASE_TAG}/${RELEASE_TAG}-linux-${arch}.tar.gz && tar -xzf ${RELEASE_TAG}-linux-${arch}.tar.gz && mv -f ${RELEASE_TAG}-linux-${arch} ${OPENVSCODE_SERVER_ROOT} && cp ${OPENVSCODE_SERVER_ROOT}/bin/remote-cli/openvscode-server ${OPENVSCODE_SERVER_ROOT}/bin/remote-cli/code && rm -f ${RELEASE_TAG}-linux-${arch}.tar.gz # buildkit
ARG USERNAME=openvscode-server
ARG USER_UID=1000
ARG USER_GID=1000
RUN |6 RELEASE_TAG=openvscode-server-v1.90.1 RELEASE_ORG=gitpod-io OPENVSCODE_SERVER_ROOT=/home/.openvscode-server USERNAME=openvscode-server USER_UID=1000 USER_GID=1000 /bin/sh -c groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USERNAME -m -s /bin/bash $USERNAME && echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && chmod 0440 /etc/sudoers.d/$USERNAME # buildkit
RUN |6 RELEASE_TAG=openvscode-server-v1.90.1 RELEASE_ORG=gitpod-io OPENVSCODE_SERVER_ROOT=/home/.openvscode-server USERNAME=openvscode-server USER_UID=1000 USER_GID=1000 /bin/sh -c chmod g+rw /home && mkdir -p /home/workspace && chown -R $USERNAME:$USERNAME /home/workspace && chown -R $USERNAME:$USERNAME ${OPENVSCODE_SERVER_ROOT} # buildkit
USER openvscode-server
WORKDIR /home/workspace/
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 HOME=/home/workspace EDITOR=code VISUAL=code GIT_EDITOR=code --wait OPENVSCODE_SERVER_ROOT=/home/.openvscode-server
EXPOSE map[3000/tcp:{}]
ENTRYPOINT ["/bin/sh" "-c" "exec ${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server --host 0.0.0.0 --without-connection-token \"${@}\"" "--"]
USER root
RUN /bin/sh -c apt update -y && apt install -y wget gpg curl bc python3 nano ssh # buildkit
RUN /bin/sh -c wget -O- https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor > /usr/share/keyrings/docker.gpg # buildkit
RUN /bin/sh -c cat /usr/share/keyrings/docker.gpg | apt-key add - # buildkit
RUN /bin/sh -c echo "deb [arch=amd64,signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bullseye stable" > /etc/apt/sources.list.d/docker.list # buildkit
RUN /bin/sh -c apt update && apt install -y docker-ce # buildkit
RUN /bin/sh -c usermod -aG docker openvscode-server # buildkit
USER openvscode-server
ENV HOME=/home/openvscode-server
SHELL [/bin/bash -c]
RUN /bin/bash -c curl -s https://setup.cronocide.com/.bash_profile > $HOME/.bash_profile # buildkit
RUN /bin/bash -c echo -e '#!/bin/bash\n'"source $HOME/.bash_profile && install_dotfiles && set_theme blue" > $HOME/setup_cli.sh # buildkit
RUN /bin/bash -c chmod +x $HOME/setup_cli.sh # buildkit
RUN /bin/bash -c /bin/bash $HOME/setup_cli.sh # buildkit
RUN /bin/bash -c rm $HOME/setup_cli.sh # buildkit
RUN /bin/bash -c rm $HOME/.bashrc && ln -s $HOME/.bash_profile $HOME/.bashrc # buildkit
ENV OPENVSCODE_SERVER_ROOT=/home/.openvscode-server
ENV OPENVSCODE=/home/.openvscode-server/bin/openvscode-server
SHELL [/bin/bash -c]
RUN /bin/bash -c urls=( https://open-vsx.org/api/emroussel/atom-icons/1.2.0/file/emroussel.atom-icons-1.2.0.vsix https://open-vsx.org/api/emroussel/atomize-atom-one-dark-theme/2.0.2/file/emroussel.atomize-atom-one-dark-theme-2.0.2.vsix https://open-vsx.org/api/formulahendry/code-runner/0.12.2/file/formulahendry.code-runner-0.12.2.vsix https://open-vsx.org/api/ms-azuretools/vscode-docker/1.29.1/file/ms-azuretools.vscode-docker-1.29.1.vsix https://open-vsx.org/api/dbaeumer/vscode-eslint/3.0.10/file/dbaeumer.vscode-eslint-3.0.10.vsix https://open-vsx.org/api/waderyan/gitblame/11.0.1/file/waderyan.gitblame-11.0.1.vsix https://open-vsx.org/api/mhutchie/git-graph/1.30.0/file/mhutchie.git-graph-1.30.0.vsix https://open-vsx.org/api/golang/Go/0.41.4/file/golang.Go-0.41.4.vsix https://open-vsx.org/api/rust-lang/rust-analyzer/linux-x64/0.4.2021/file/rust-lang.rust-analyzer-0.4.2021@linux-x64.vsix https://open-vsx.org/api/hashicorp/hcl/0.5.0/file/hashicorp.hcl-0.5.0.vsix https://open-vsx.org/api/hashicorp/terraform/linux-x64/2.31.0/file/hashicorp.terraform-2.31.0@linux-x64.vsix https://open-vsx.org/api/sourcegraph/cody-ai/1.25.1719847037/file/sourcegraph.cody-ai-1.25.1719847037.vsix https://open-vsx.org/api/esbenp/prettier-vscode/10.4.0/file/esbenp.prettier-vscode-10.4.0.vsix https://open-vsx.org/api/ms-python/python/2024.8.1/file/ms-python.python-2024.8.1.vsix https://open-vsx.org/api/Vue/volar/2.0.26-alpha.2/file/Vue.volar-2.0.26-alpha.2.vsix https://open-vsx.org/api/amazonwebservices/aws-toolkit-vscode/3.12.0/file/amazonwebservices.aws-toolkit-vscode-3.12.0.vsix ) && tdir=/tmp/exts && mkdir -p "${tdir}" && cd "${tdir}" && wget "${urls[@]}" && exts=( gitpod.gitpod-theme "${tdir}"/* ) && for ext in "${exts[@]}"; do ${OPENVSCODE} --install-extension "${ext}"; done # buildkit
EXPOSE map[3000/tcp:{}]
ENTRYPOINT ["/bin/sh" "-c" "exec ${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server --host 0.0.0.0 --without-connection-token \"${@}\"" "--"]

Labels

Key Value
net.cronocide.build-info.build-time 2024-07-02T22:48:40+00:00
net.cronocide.build-info.git-branch (HEAD
net.cronocide.build-info.git-commit 8d32f6d1e63f34f6e56f3bb53dea60d95d28b9f1
net.cronocide.build-info.git-repo https://git.cronocide.net/Cronocide/covscs.git
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.source https://git.cronocide.net/cronocide/covscs
org.opencontainers.image.title covscs
org.opencontainers.image.url https://git.cronocide.net
org.opencontainers.image.vendor cronocide.net
org.opencontainers.image.version 22.04
Details
Container
2024-07-02 22:54:36 +00:00
0
OCI / Docker
linux/amd64
593 MiB
Versions (3) View all