brain (sha256:7ea3456e3e8d56b142f6f6703a5987024cb1ffff8d81b89a26ba0c6372040200)
Published 2026-06-05 15:28:18 +02:00 by simon
Installation
docker pull git-ui.haerer.cloud/simon/brain@sha256:7ea3456e3e8d56b142f6f6703a5987024cb1ffff8d81b89a26ba0c6372040200sha256:7ea3456e3e8d56b142f6f6703a5987024cb1ffff8d81b89a26ba0c6372040200Image 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-05 15:28:18 +02:00
Versions (13)
View all
Container
1
OCI / Docker
linux/amd64
184 MiB
buildcache
2026-06-07
902de6f784b789c1fd2aa8fe5fa6a39779c1e9c8
2026-06-07
latest
2026-06-07
66ebbf02e80e21a130b3504ec5c4528fa493692d
2026-06-07
4ef254a4341db3bd3d12267476006675e50c88ef
2026-06-06