Global Knowledge base not restricted by implementations for more information check
code-server (latest)
Installation
docker pull git.limbosolutions.com/kb/code-server:latestsha256:59f18b44a90c60b44d5a843288f9ce43ad1e39978b8505f3c32578eef746febc
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=2024-08-27T23:31:28+00:00 |
| ARG VERSION=7898f960-ls15 |
| ARG MODS_VERSION=v3 |
| ARG PKG_INST_VERSION=v1 |
| ARG LSIOWN_VERSION=v1 |
| LABEL build_version=Linuxserver.io version:- 7898f960-ls15 Build-date:- 2024-08-27T23:31:28+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 |
| 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 |6 BUILD_DATE=2024-08-27T23:31:28+00:00 VERSION=7898f960-ls15 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_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=2024-08-31T20:22:31+00:00 |
| ARG VERSION=4.92.2-ls230 |
| ARG CODE_RELEASE=4.92.2 |
| LABEL build_version=Linuxserver.io version:- 4.92.2-ls230 Build-date:- 2024-08-31T20:22:31+00:00 |
| LABEL maintainer=aptalca |
| ARG DEBIAN_FRONTEND=noninteractive |
| ENV HOME=/config |
| RUN |4 BUILD_DATE=2024-08-31T20:22:31+00:00 VERSION=4.92.2-ls230 CODE_RELEASE=4.92.2 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:{}] |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt-get update -y # buildkit |
| RUN /bin/sh -c apt-get install curl -y # buildkit |
| RUN /bin/sh -c curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh # buildkit |
| RUN /bin/sh -c apt-get install -y openssh-client # buildkit |
| RUN /bin/sh -c apt-get install -y gcc python3-dev # buildkit |
| RUN /bin/sh -c apt-get install python3-pip -y # buildkit |
| RUN /bin/sh -c rm /usr/lib/python*/EXTERNALLY-MANAGED # buildkit |
| RUN /bin/sh -c pip3 install ansible # buildkit |
| RUN /bin/sh -c pip3 install ansible-dev-tools && pip3 install ansible-runner && pip3 install ansible-lint # buildkit |
Labels
| Key | Value |
|---|---|
| build_version | Linuxserver.io version:- 4.92.2-ls230 Build-date:- 2024-08-31T20:22:31+00:00 |
| maintainer | aptalca |
| org.opencontainers.image.authors | linuxserver.io |
| org.opencontainers.image.created | 2024-08-31T20:22:31+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 | 894f3b2c0c91f89f1005c229157512740870ccbb |
| org.opencontainers.image.revision | 894f3b2c0c91f89f1005c229157512740870ccbb |
| 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.92.2-ls230 |