Block a user
sunstacks (v10)
Published 2026-06-12 11:35:53 +02:00 by noobymatze
Installation
docker pull git.noobymatze.io/noobymatze/sunstacks:v10sha256:20dc3fc22d2dbaa060ca3cde3059d4a2f290cd58527fa751e8a4855e8d0342b3
Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1771804800' |
| RUN /bin/sh -c apt-get update -y && apt-get install -y libstdc++6 openssl libncurses6 locales ca-certificates curl xz-utils && apt-get clean && rm -f /var/lib/apt/lists/*_* # buildkit |
| ARG TYPST_VERSION=0.14.2 |
| RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c curl -fsSL https://github.com/typst/typst/releases/download/v${TYPST_VERSION}/typst-x86_64-unknown-linux-musl.tar.xz | tar -xJf - --strip-components=1 -C /usr/local/bin typst-x86_64-unknown-linux-musl/typst # buildkit |
| RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen # buildkit |
| ENV LANG=en_US.UTF-8 |
| ENV LANGUAGE=en_US:en |
| ENV LC_ALL=en_US.UTF-8 |
| WORKDIR /app |
| RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c chown nobody /app # buildkit |
| ENV MIX_ENV=prod |
| COPY --chown=nobody:root /app/_build/prod/rel/sunstacks ./ # buildkit |
| USER nobody |
| RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c mkdir -p /app/sunstacks-data # buildkit |
| CMD ["/app/bin/server"] |