Block a user
solar (v71)
Published 2026-03-15 22:30:15 +01:00 by noobymatze
Installation
docker pull git.noobymatze.io/noobymatze/solar:v71sha256:fd8a05d2a8d823bdd398cae1c60273c64d5332c1087685983a1558f1f6f7c73a
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/solar ./ # buildkit |
| USER nobody |
| RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c mkdir -p /app/priv/static/uploads # buildkit |
| CMD ["/app/bin/server"] |