dxcker-helper (latest)
Published 2026-02-23 22:42:57 +10:00 by j
Installation
docker pull repobase.net/dxcker/dxcker-helper:latestsha256:f3fedfb528a314ca52594b24bfaa5695cfa4738c6783a13adf41600a336cd97dImage layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1766966400' |
| ENV DEBIAN_FRONTEND=noninteractive |
| ENV APP_UID=1000 |
| ENV APP_GID=1000 |
| ENV CONFIG_DIR=/config |
| ENV DATA_DIR=/data |
| RUN /bin/sh -c apt update # buildkit |
| RUN /bin/sh -c apt -y upgrade # buildkit |
| RUN /bin/sh -c apt -y install curl tini ca-certificates ssl-cert # buildkit |
| RUN /bin/sh -c install -m 0755 -d /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && chmod a+r /etc/apt/keyrings/docker.asc && tee /etc/apt/sources.list.d/docker.sources <<EOF Types: deb URIs: https://download.docker.com/linux/debian Suites: $(. /etc/os-release && echo "$VERSION_CODENAME") Components: stable Signed-By: /etc/apt/keyrings/docker.asc EOF # buildkit |
| RUN /bin/sh -c apt update && apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin nodejs npm # buildkit |
| RUN /bin/sh -c apt update && apt install -y curl # buildkit |
| RUN /bin/sh -c curl -fsSL https://github.com/moby/buildkit/releases/download/v0.27.1/buildkit-v0.27.1.linux-amd64.tar.gz | tar -xz -C /usr/local/bin --strip-components=1 bin/buildctl # buildkit |
| RUN /bin/sh -c apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit |
| RUN /bin/sh -c groupadd -g ${APP_GID} app # buildkit |
| RUN /bin/sh -c useradd -u ${APP_UID} -g app app # buildkit |
| RUN /bin/sh -c usermod -a -G ssl-cert app # buildkit |
| RUN /bin/sh -c mkdir -p $CONFIG_DIR $DATA_DIR # buildkit |
| RUN /bin/sh -c chown -R app:app $CONFIG_DIR $DATA_DIR # buildkit |
| RUN /bin/sh -c chmod 755 $CONFIG_DIR $DATA_DIR # buildkit |
| COPY common.rc /common.rc # buildkit |
| RUN /bin/sh -c chown app:app /common.rc && chmod +x /common.rc # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN /bin/sh -c chown app:app /entrypoint.sh && chmod +x /entrypoint.sh # buildkit |
| ENTRYPOINT ["/entrypoint.sh"] |
| CMD ["--" "sleep" "infinity"] |