| COPY /root-out/ / # buildkit |
| ARG BUILD_DATE=2026-05-13T00:23:07+00:00 |
| ARG VERSION=5e1287d4-ls71 |
| ARG MODS_VERSION=v3 |
| ARG PKG_INST_VERSION=v1 |
| ARG LSIOWN_VERSION=v1 |
| ARG WITHCONTENV_VERSION=v1 |
| LABEL build_version=Linuxserver.io version:- 5e1287d4-ls71 Build-date:- 2026-05-13T00:23:07+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=2026-05-13T00:23:07+00:00 VERSION=5e1287d4-ls71 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=2026-05-21T01:36:35+00:00 |
| ARG VERSION=4.121.0-ls339 |
| ARG CODE_RELEASE=4.121.0 |
| LABEL build_version=Linuxserver.io version:- 4.121.0-ls339 Build-date:- 2026-05-21T01:36:35+00:00 |
| LABEL maintainer=aptalca |
| ARG DEBIAN_FRONTEND=noninteractive |
| ENV HOME=/config |
| RUN |4 BUILD_DATE=2026-05-21T01:36:35+00:00 VERSION=4.121.0-ls339 CODE_RELEASE=4.121.0 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 [8443/tcp] |
| ENV PUID=1000 PGID=1000 TZ=Etc/UTC PASSWORD= DEFAULT_WORKSPACE=/config/workspace IDF_TOOLS_PATH=/opt/esp/tools IDF_PATH=/opt/esp/esp-idf PLATFORMIO_CORE_DIR=/opt/platformio PATH=/opt/platformio/penv/bin:/opt/esp/esp-idf/tools:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends build-essential ca-certificates clang-format clang-tools cmake curl fd-find g++ gcc gdb git gpg jq libffi-dev libftdi1-2 libssl-dev libssl-dev libusb-1.0-0 lsb-release ninja-build python3 python3-pip python3-setuptools python3-venv python3-wheel python3.12-venv ripgrep tree unzip wget && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c python3 -m pip install --break-system-packages pylint autopep8 # buildkit |
| RUN /bin/sh -c curl -sS https://debian.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/debian.griffo.io.gpg && echo "deb https://debian.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/debian.griffo.io.list && apt-get update && apt-get install -y yazi # buildkit |
| RUN /bin/sh -c usermod -aG sudo abc # buildkit |
| RUN /bin/sh -c PASSWORD=$(cat /run/secrets/SUDO_PASSWORD) && echo "abc:${PASSWORD}" | chpasswd # buildkit |
| RUN /bin/sh -c mkdir -p /opt/esp && cd /opt/esp && git clone --depth 1 -b v5.1.2 --recursive https://github.com/espressif/esp-idf.git && cd esp-idf && git submodule update --init --recursive --depth 1 && ./install.sh esp32s3 esp32 esp32h2 --non-interactive --no-hints && rm -rf /opt/esp/esp-idf/.git /opt/esp/tools/dist/*.tar.gz # buildkit |
| RUN /bin/sh -c echo "source /opt/esp/esp-idf/export.sh" >> /etc/profile # buildkit |
| RUN /bin/sh -c mkdir -p /opt/platformio && curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py -o /tmp/get-platformio.py && PLATFORMIO_CORE_DIR=/opt/platformio python3 /tmp/get-platformio.py && rm /tmp/get-platformio.py && chown -R 1000:1000 /opt/platformio # buildkit |
| RUN /bin/sh -c echo '# Colored prompt, ls, grep, git' >> /etc/bash.bashrc && echo 'export TERM=xterm-256color' >> /etc/bash.bashrc && echo 'alias ls="ls --color=auto"' >> /etc/bash.bashrc && echo 'alias grep="grep --color=auto"' >> /etc/bash.bashrc && echo 'PS1="\[\e[32m\]\u@\h \[\e[34m\]\w \$\[\e[0m\] "' >> /etc/bash.bashrc && echo 'export GIT_PAGER=cat' >> /etc/bash.bashrc && echo 'git config --global color.ui auto' >> /etc/bash.bashrc && echo 'git config --global color.branch auto' >> /etc/bash.bashrc && echo 'git config --global color.status auto' >> /etc/bash.bashrc && echo 'git config --global color.diff auto' >> /etc/bash.bashrc # buildkit |
| WORKDIR /config/workspace |
| RUN /bin/sh -c curl -fsSL https://opencode.ai/install | bash && export PATH=/config/.opencode/bin:$PATH # buildkit |