brain (sha256:9aa25b493f7dfb1ac5e94843e146c78090db573b94750d96278bedf3b6dc66fb)

Published 2026-06-06 11:54:13 +02:00 by simon

Installation

docker pull git-ui.haerer.cloud/simon/brain@sha256:9aa25b493f7dfb1ac5e94843e146c78090db573b94750d96278bedf3b6dc66fb
sha256:9aa25b493f7dfb1ac5e94843e146c78090db573b94750d96278bedf3b6dc66fb

Image layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1762202650'
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends libstdc++6 openssl libncurses5 locales ca-certificates git git-lfs openssh-client inotify-tools libvips42 libpoppler-glib8 && rm -rf /var/lib/apt/lists/* && git lfs install # buildkit
RUN /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 /bin/sh -c chown nobody /app # buildkit
ENV MIX_ENV=prod
ENV DATABASE_URL=ecto://postgres:postgres@localhost/brain_prod
ENV PHX_SERVER=true
ENV PORT=4001
ENV RELEASE_NODE=brainrel
RUN /bin/sh -c mkdir -p /root/.ssh && echo "Host g.haerer.cloud git.haerer.cloud" >> /root/.ssh/config && echo " StrictHostKeyChecking accept-new" >> /root/.ssh/config && chmod 600 /root/.ssh/config # buildkit
COPY --chown=nobody:root /app/_build/prod/rel/brain ./ # buildkit
COPY --chown=nobody:root service-account.json /app/service-account.json # buildkit
ENV BRAIN_FCM_SERVICE_ACCOUNT_PATH=/app/service-account.json
USER nobody
COPY --chown=nobody:root scripts/docker-entrypoint.sh /app/bin/docker-entrypoint.sh # buildkit
CMD ["/app/bin/docker-entrypoint.sh"]
Details
Container
2026-06-06 11:54:13 +02:00
1
OCI / Docker
linux/amd64
184 MiB
Versions (13) View all