COPY /root-out/ / # buildkit |
ARG BUILD_DATE |
ARG VERSION |
ARG MODS_VERSION=v3 |
ARG PKG_INST_VERSION=v1 |
LABEL build_version=Linuxserver.io version:- 21e99ce9-ls101 Build-date:- 2024-04-02T23:57:31+00:00 |
LABEL maintainer=TheLamer |
ADD https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit |
ADD https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # 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 |5 BUILD_DATE=2024-04-02T23:57:31+00:00 VERSION=21e99ce9-ls101 MODS_VERSION=v3 PKG_INST_VERSION=v1 DEBIAN_FRONTEND=noninteractive /bin/sh -c echo "**** Ripped from Ubuntu Docker Logic ****" && 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 cron curl gnupg jq netcat 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 ****" && 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 |
ARG VERSION |
ARG CODE_RELEASE |
LABEL build_version=Linuxserver.io version:- 4.22.1-ls204 Build-date:- 2024-04-06T20:25:04+00:00 |
LABEL maintainer=aptalca |
ARG DEBIAN_FRONTEND=noninteractive |
ENV HOME=/config |
RUN |4 BUILD_DATE=2024-04-06T20:25:04+00:00 VERSION=4.22.1-ls204 CODE_RELEASE=4.22.1 DEBIAN_FRONTEND=noninteractive /bin/sh -c echo "**** install runtime dependencies ****" && apt-get update && apt-get install -y git jq libatomic1 nano net-tools netcat 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 && echo "**** clean up ****" && apt-get clean && rm -rf /config/* /tmp/* /var/lib/apt/lists/* /var/tmp/* # buildkit |
COPY /root / # buildkit |
EXPOSE map[8443/tcp:{}] |
LABEL maintainer=OCram85 |
ARG VERSION |
LABEL build_version=PR |
LABEL org.opencontainers.image.authors=OCram85 |
LABEL org.opencontainers.image.vendor=OCram85 |
LABEL org.opencontainers.image.title=Arkanum |
LABEL org.opencontainers.image.description=Code-Server container optimized for daily use. |
LABEL org.opencontainers.image.licenses=AGPL-3.0 |
ARG TAG |
LABEL org.opencontainers.image.version= |
LABEL org.opencontainers.image.url=https://gitea.ocram85.com/CodeServer/arkanum |
LABEL org.opencontainers.image.source=https://gitea.ocram85.com/CodeServer/arkanum.git |
LABEL org.opencontainers.image.documentation=https://gitea.ocram85.com/CodeServer/arkanum |
RUN |2 VERSION=PR TAG= /bin/sh -c echo "**** install starship prompt ****" && curl -sS -o /tmp/install.sh https://starship.rs/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh --verbose --force --version latest && rm -f /tmp/install.sh && echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc # buildkit |
ENV STARSHIP_CONFIG=/etc/starship.toml |
COPY starship.toml /etc/starship.toml # buildkit |
ADD gitconfig-system /etc/gitconfig # buildkit |
RUN |2 VERSION=PR TAG= /bin/sh -c echo "**** setup git ****" && echo 'source /usr/share/bash-completion/completions/git' >> /etc/bash.bashrc # buildkit |
ADD arkanum /usr/bin/ # buildkit |
ADD arkanum-completion /etc/bash_completion.d/ # buildkit |
RUN |2 VERSION=PR TAG= /bin/sh -c chmod +x /usr/bin/arkanum && chmod +x /etc/bash_completion.d/arkanum-completion && echo 'source /etc/bash_completion.d/arkanum-completion' >> /etc/bash.bashrc && touch "$HOME/enable_motd" && echo "if [[ ! -e \"$HOME/data/User/settings.json\" ]]; then arkanum config install-extensions && arkanum config reset-codesettings && echo -e \"🧙 \\e[32markanum\\e[0m: Please reload Arkanum to finalize the setup...\" && read foo; fi" >> /etc/bash.bashrc && echo "if [[ -e \"$HOME/enable_motd\" ]]; then echo -e \"Use 🧙 \\e[32m'arkanum'\\e[0m to install missing runtimes like dotnet or NodeJs.\"; fi" >> /etc/bash.bashrc # buildkit |
WORKDIR /app/code-server/lib/vscode/out/vs/workbench |
ADD FiraCode/fonts/* ./fonts/ # buildkit |
ADD FiraCode/fonts.css ./ # buildkit |
RUN |2 VERSION=PR TAG= /bin/sh -c cat fonts.css >> workbench.web.main.css # buildkit |