brain (sha256:02ae48eb1048521eaf34df9ca26af6b49ca5fd9772bafe04a41ff400aa4eae54)
Published 2026-06-15 22:04:59 +02:00 by simon
Installation
docker pull git-ui.haerer.cloud/simon/brain@sha256:02ae48eb1048521eaf34df9ca26af6b49ca5fd9772bafe04a41ff400aa4eae54sha256:02ae48eb1048521eaf34df9ca26af6b49ca5fd9772bafe04a41ff400aa4eae54Image 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
2026-06-15 22:04:59 +02:00
Versions (11)
View all
Container
4
OCI / Docker
linux/amd64
177 MiB
buildcache
2026-06-15
b3352a91d9890a69464f76131e252d96ae9b018c
2026-06-15
latest
2026-06-15
1aee3ef07c8d1dc2f3ffadc0c828e866666de3d8
2026-06-15
13f76921ceb9d0ee5846c7fca707eda5ccca95f1
2026-06-15