custom-code-server (latest)
Published 2025-02-03 08:29:36 +01:00 by Tobias Hopp
Installation
docker pull git.gaminggeneration.de/tobiash/custom-code-server:latest
sha256:e2145a94fe3b958cce5a32d0aeca3fd8bdaed9771e9662d4e3341cf64e917463
About this package
[Code-server](https://coder.com) is VS Code running on a remote server, accessible through the browser. - Code on your Chromebook, tablet, and laptop with a consistent dev environment. - If you have a Windows or Mac workstation, more easily develop for Linux. - Take advantage of large cloud servers to speed up tests, compilations, downloads, and more. - Preserve battery life when you're on the go. - All intensive computation runs on your server. - You're no longer running excess instances of Chrome.
Image Layers
COPY /root-out/ / # buildkit |
ARG BUILD_DATE=2025-01-28T23:33:14+00:00 |
ARG VERSION=bb958d15-ls26 |
ARG MODS_VERSION=v3 |
ARG PKG_INST_VERSION=v1 |
ARG LSIOWN_VERSION=v1 |
ARG WITHCONTENV_VERSION=v1 |
LABEL build_version=Linuxserver.io version:- bb958d15-ls26 Build-date:- 2025-01-28T23:33:14+00:00 |
LABEL maintainer=TheLamer |
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit |
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit |
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit |
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit |
ARG DEBIAN_FRONTEND=noninteractive |
ENV HOME=/root LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8 TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
COPY sources.list /etc/apt/ # buildkit |
RUN |7 BUILD_DATE=2025-01-28T23:33:14+00:00 VERSION=bb958d15-ls26 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 WITHCONTENV_VERSION=v1 DEBIAN_FRONTEND=noninteractive /bin/sh -c echo "**** Ripped from Ubuntu Docker Logic ****" && rm -f /etc/apt/sources.list.d/ubuntu.sources && set -xe && echo '#!/bin/sh' > /usr/sbin/policy-rc.d && echo 'exit 101' >> /usr/sbin/policy-rc.d && chmod +x /usr/sbin/policy-rc.d && dpkg-divert --local --rename --add /sbin/initctl && cp -a /usr/sbin/policy-rc.d /sbin/initctl && sed -i 's/^exit.*/exit 0/' /sbin/initctl && echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup && echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' > /etc/apt/apt.conf.d/docker-clean && echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' >> /etc/apt/apt.conf.d/docker-clean && echo 'Dir::Cache::pkgcache ""; Dir::Cache::srcpkgcache "";' >> /etc/apt/apt.conf.d/docker-clean && echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/docker-no-languages && echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes && echo 'Apt::AutoRemove::SuggestsImportant "false";' > /etc/apt/apt.conf.d/docker-autoremove-suggests && mkdir -p /run/systemd && echo 'docker' > /run/systemd/container && echo "**** install apt-utils and locales ****" && apt-get update && apt-get upgrade -y && apt-get install -y apt-utils locales && echo "**** install packages ****" && apt-get install -y catatonit cron curl gnupg jq netcat-openbsd systemd-standalone-sysusers tzdata && echo "**** generate locale ****" && locale-gen en_US.UTF-8 && echo "**** create abc user and make our folders ****" && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults /lsiopy && echo "**** cleanup ****" && userdel ubuntu && apt-get autoremove && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /var/log/* # buildkit |
COPY root/ / # buildkit |
ENTRYPOINT ["/init"] |
ENV LSIO_FIRST_PARTY=true |
ARG BUILD_DATE=2025-02-01T20:24:46+00:00 |
ARG VERSION=4.96.4-ls252 |
ARG CODE_RELEASE=4.96.4 |
LABEL build_version=Linuxserver.io version:- 4.96.4-ls252 Build-date:- 2025-02-01T20:24:46+00:00 |
LABEL maintainer=aptalca |
ARG DEBIAN_FRONTEND=noninteractive |
ENV HOME=/config |
RUN |4 BUILD_DATE=2025-02-01T20:24:46+00:00 VERSION=4.96.4-ls252 CODE_RELEASE=4.96.4 DEBIAN_FRONTEND=noninteractive /bin/sh -c echo "**** install runtime dependencies ****" && apt-get update && apt-get install -y git libatomic1 nano net-tools sudo && echo "**** install code-server ****" && if [ -z ${CODE_RELEASE+x} ]; then CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest | awk '/tag_name/{print $4;exit}' FS='[""]' | sed 's|^v||'); fi && mkdir -p /app/code-server && curl -o /tmp/code-server.tar.gz -L "https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server-${CODE_RELEASE}-linux-amd64.tar.gz" && tar xf /tmp/code-server.tar.gz -C /app/code-server --strip-components=1 && printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && echo "**** clean up ****" && apt-get clean && rm -rf /config/* /tmp/* /var/lib/apt/lists/* /var/tmp/* # buildkit |
COPY /root / # buildkit |
EXPOSE map[8443/tcp:{}] |
RUN /bin/sh -c apt update && apt install wget curl git -y # buildkit |
RUN /bin/sh -c wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb # buildkit |
RUN /bin/sh -c apt install ./packages-microsoft-prod.deb -y && rm packages-microsoft-prod.deb && apt update # buildkit |
RUN /bin/sh -c apt install dotnet-sdk-9.0 -y # buildkit |
RUN /bin/sh -c echo "alias compile='dotnet build'" >> /config/.bashrc # buildkit |
ENTRYPOINT ["/init"] |
Labels
Key | Value |
---|---|
build_version | Linuxserver.io version:- 4.96.4-ls252 Build-date:- 2025-02-01T20:24:46+00:00 |
maintainer | aptalca |
org.opencontainers.image.authors | linuxserver.io |
org.opencontainers.image.created | 2025-02-01T20:24:46+00:00 |
org.opencontainers.image.description | [Code-server](https://coder.com) is VS Code running on a remote server, accessible through the browser. - Code on your Chromebook, tablet, and laptop with a consistent dev environment. - If you have a Windows or Mac workstation, more easily develop for Linux. - Take advantage of large cloud servers to speed up tests, compilations, downloads, and more. - Preserve battery life when you're on the go. - All intensive computation runs on your server. - You're no longer running excess instances of Chrome. |
org.opencontainers.image.documentation | https://docs.linuxserver.io/images/docker-code-server |
org.opencontainers.image.licenses | GPL-3.0-only |
org.opencontainers.image.ref.name | 88c91e4deb3262ceb7ea0eecaca54519cbc46572 |
org.opencontainers.image.revision | 88c91e4deb3262ceb7ea0eecaca54519cbc46572 |
org.opencontainers.image.source | https://github.com/linuxserver/docker-code-server |
org.opencontainers.image.title | Code-server |
org.opencontainers.image.url | https://github.com/linuxserver/docker-code-server/packages |
org.opencontainers.image.vendor | linuxserver.io |
org.opencontainers.image.version | 4.96.4-ls252 |