manebooru-app (sha256:04d86611d6e0a648b138cdaff8b9a3c794e1c37bda0abe4c378b877306004767)

Published 2026-11-09 02:08:09 +01:00 by cultpony

Installation

docker pull code.cult.horse/cultpony/manebooru-app@sha256:04d86611d6e0a648b138cdaff8b9a3c794e1c37bda0abe4c378b877306004767
sha256:04d86611d6e0a648b138cdaff8b9a3c794e1c37bda0abe4c378b877306004767

Image layers

ADD alpine-minirootfs-3.20.8-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ENV OTP_VERSION=25.3.2.21 REBAR3_VERSION=3.24.0
LABEL org.opencontainers.image.version=25.3.2.21
RUN /bin/sh -c set -xe && OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" && OTP_DOWNLOAD_SHA256="6761432927a9be4f5c13c4019acd6fa3d2f4363198f790947328023aece1986f" && REBAR3_DOWNLOAD_SHA256="391b0eaa2825bb427fef1e55a0d166493059175f57a33b00346b84a20398216c" && apk add --no-cache --virtual .fetch-deps curl ca-certificates && curl -fSL -o otp-src.tar.gz "$OTP_DOWNLOAD_URL" && echo "$OTP_DOWNLOAD_SHA256 otp-src.tar.gz" | sha256sum -c - && apk add --no-cache --virtual .build-deps dpkg-dev dpkg gcc g++ libc-dev linux-headers make autoconf ncurses-dev openssl-dev unixodbc-dev lksctp-tools-dev tar && export ERL_TOP="/usr/src/otp_src_${OTP_VERSION%%@*}" && mkdir -vp $ERL_TOP && tar -xzf otp-src.tar.gz -C $ERL_TOP --strip-components=1 && rm otp-src.tar.gz && ( cd $ERL_TOP && ./otp_build autoconf && gnuArch="$(dpkg-architecture --query DEB_HOST_GNU_TYPE)" && ./configure --build="$gnuArch" && make -j$(getconf _NPROCESSORS_ONLN) && make install ) && rm -rf $ERL_TOP && find /usr/local -regex '/usr/local/lib/erlang/\(lib/\|erts-\).*/\(man\|doc\|obj\|c_src\|emacs\|info\|examples\)' | xargs rm -rf && find /usr/local -name src | xargs -r find | grep -v '\.hrl$' | xargs rm -v || true && find /usr/local -name src | xargs -r find | xargs rmdir -vp || true && scanelf --nobanner -E ET_EXEC -BF '%F' --recursive /usr/local | xargs -r strip --strip-all && scanelf --nobanner -E ET_DYN -BF '%F' --recursive /usr/local | xargs -r strip --strip-unneeded && runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )" && REBAR3_DOWNLOAD_URL="https://github.com/erlang/rebar3/archive/${REBAR3_VERSION}.tar.gz" && curl -fSL -o rebar3-src.tar.gz "$REBAR3_DOWNLOAD_URL" && echo "${REBAR3_DOWNLOAD_SHA256} rebar3-src.tar.gz" | sha256sum -c - && mkdir -p /usr/src/rebar3-src && tar -xzf rebar3-src.tar.gz -C /usr/src/rebar3-src --strip-components=1 && rm rebar3-src.tar.gz && cd /usr/src/rebar3-src && HOME=$PWD ./bootstrap && install -v ./rebar3 /usr/local/bin/ && rm -rf /usr/src/rebar3-src && apk add --virtual .erlang-rundeps $runDeps lksctp-tools ca-certificates && apk del .fetch-deps .build-deps # buildkit
CMD ["erl"]
ENV ELIXIR_VERSION=v1.14.5 LANG=C.UTF-8
RUN /bin/sh -c set -xe && ELIXIR_DOWNLOAD_URL="https://github.com/elixir-lang/elixir/archive/${ELIXIR_VERSION}.tar.gz" && ELIXIR_DOWNLOAD_SHA256="2ea249566c67e57f8365ecdcd0efd9b6c375f57609b3ac2de326488ac37c8ebd" && buildDeps=' ca-certificates curl make ' && apk add --no-cache --virtual .build-deps $buildDeps && curl -fSL -o elixir-src.tar.gz $ELIXIR_DOWNLOAD_URL && echo "$ELIXIR_DOWNLOAD_SHA256 elixir-src.tar.gz" | sha256sum -c - && mkdir -p /usr/local/src/elixir && tar -xzC /usr/local/src/elixir --strip-components=1 -f elixir-src.tar.gz && rm elixir-src.tar.gz && cd /usr/local/src/elixir && make install clean && find /usr/local/src/elixir/ -type f -not -regex "/usr/local/src/elixir/lib/[^\/]*/lib.*" -exec rm -rf {} + && find /usr/local/src/elixir/ -type d -depth -empty -delete && apk del .build-deps # buildkit
CMD ["iex"]
ENV MIX_HOME=/opt/mix HEX_HOME=/opt/hex
ENV NODE_OPTIONS=--openssl-legacy-provider
RUN /bin/sh -c apk update && apk add inotify-tools build-base git ffmpeg ffmpeg-dev npm nodejs file-dev libpng-dev gifsicle optipng libjpeg-turbo-utils librsvg librsvg-dev imagemagick postgresql-client wget curl rust cargo && mix local.hex --force && mix local.rebar --force # buildkit
ARG CLI_INTENSITIES_REF=669da39077038bb099e3d57f27c4716aad77563d
RUN |1 CLI_INTENSITIES_REF=669da39077038bb099e3d57f27c4716aad77563d /bin/sh -c git clone https://github.com/philomena-dev/cli_intensities /tmp/cli_intensities && cd /tmp/cli_intensities && git checkout "$CLI_INTENSITIES_REF" && make -j$(nproc) install # buildkit
ARG MEDIATOOLS_REF=6897ca85519bf84077b1509523d712948432152c
RUN |2 CLI_INTENSITIES_REF=669da39077038bb099e3d57f27c4716aad77563d MEDIATOOLS_REF=6897ca85519bf84077b1509523d712948432152c /bin/sh -c git clone https://github.com/philomena-dev/mediatools /tmp/mediatools && cd /tmp/mediatools && git checkout "$MEDIATOOLS_REF" && make -j$(nproc) install # buildkit
COPY docker/app/safe-rsvg-convert /usr/local/bin/safe-rsvg-convert # buildkit
COPY docker/app/purge-cache /usr/local/bin/purge-cache # buildkit
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin
ENV MIX_ENV=prod APP_DIR=/srv/philomena
WORKDIR /srv/philomena
RUN |2 CLI_INTENSITIES_REF=669da39077038bb099e3d57f27c4716aad77563d MEDIATOOLS_REF=6897ca85519bf84077b1509523d712948432152c /bin/sh -c addgroup -S -g 200 philomena && adduser -S -D -H -u 200 -G philomena -h /srv/philomena philomena && chown philomena:philomena /srv/philomena # buildkit
COPY --chown=200:200 /srv/philomena /srv/philomena # buildkit
COPY docker/app/run-prod /usr/local/bin/run-prod # buildkit
USER 200
ENV PORT=4000
CMD ["run-prod"]

Labels

Key Value
org.opencontainers.image.version 25.3.2.21
Details
Container
2026-11-09 02:08:09 +01:00
3
2026-11-15 01:25:37 +01:00
OCI / Docker
linux/amd64
547 MiB
Versions (8) View all
sha-92c109bf28dd 2026-11-15
prod-config 2026-11-15
sha-f2e2b263b0e0 2026-11-15
sha-7eb90e94865b 2026-11-15
sha-021b0b7f798a 2026-11-09