Block a user
solar (v140)
Published 2026-04-13 15:23:35 +02:00 by noobymatze
Installation
docker pull git.noobymatze.io/noobymatze/solar:v140sha256:3ea7b7ea077851995e3bdb430e0325bd1f73894652ddd7d548f4789f4b7c6c5b
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"] |