decent-cloud-api (445a17d4)

Published 2026-08-02 21:10:56 +02:00 by sat

Installation

docker pull git.kalaj.org/decent-stuff/decent-cloud-api:445a17d4
sha256:e0220e4ea90159c3b5ece8841e04e6ef882df64d9f96ed1574ab22ffd703bcef

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1783900800'
ARG USER_ID=1000
ARG GROUP_ID=1000
RUN |2 USER_ID=1000 GROUP_ID=1000 /bin/sh -c apt-get update && apt-get install -y ca-certificates curl xz-utils fonts-liberation && curl -L https://github.com/typst/typst/releases/latest/download/typst-x86_64-unknown-linux-musl.tar.xz | tar -xJ -C /usr/local/bin --strip-components=1 typst-x86_64-unknown-linux-musl/typst && rm -rf /var/lib/apt/lists/* # buildkit
RUN |2 USER_ID=1000 GROUP_ID=1000 /bin/sh -c groupadd -g ${GROUP_ID} appuser && useradd -r -u ${USER_ID} -g appuser -s /bin/false appuser # buildkit
ARG BINARY_HASH=unknown
RUN |3 USER_ID=1000 GROUP_ID=1000 BINARY_HASH=unknown /bin/sh -c echo "API binary hash: ${BINARY_HASH}" # buildkit
COPY target/x86_64-unknown-linux-gnu/release/api-server /usr/local/bin/api-server # buildkit
COPY target/x86_64-unknown-linux-gnu/release/dc /usr/local/bin/dc # buildkit
COPY cf/validator-entrypoint.sh /usr/local/bin/validator-entrypoint.sh # buildkit
RUN |3 USER_ID=1000 GROUP_ID=1000 BINARY_HASH=unknown /bin/sh -c mkdir -p /data /identity && chown -R appuser:appuser /usr/local/bin/api-server /usr/local/bin/dc /usr/local/bin/validator-entrypoint.sh /data /identity && chmod +x /usr/local/bin/validator-entrypoint.sh # buildkit
ENV XDG_CACHE_HOME=/data
USER appuser
CMD ["api-server" "serve"]
Details
Container
2026-08-02 21:10:56 +02:00
1
OCI / Docker
linux/amd64
108 MiB
Versions (6) View all
v0.6.0 2026-08-14
stage 2026-08-13
v0.5.11 2026-08-09
v0.5.10 2026-08-07
445a17d4 2026-08-02