as-services/hasura (latest)

Published 2025-04-02 16:12:52 +00:00 by org-bot-alerte-secours

Installation

docker pull git.devthefuture.org/alerte-secours/as-services/hasura:latest
sha256:22de280fdd2d630c1c8102f0a6c00ca4e660e49270abb897427af4d86ee780c1

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:a5d32dc2ab15ff0d7dbd72af26e361eb1f3e87a0d29ec3a1ceab24ad7b3e6ba9 in /
CMD ["/bin/bash"]
ARG TARGETPLATFORM
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
RUN |1 TARGETPLATFORM=linux/amd64 /bin/sh -c set -ex; groupadd -g 1001 hasura; useradd -m -u 1001 -g hasura hasura # buildkit
RUN |1 TARGETPLATFORM=linux/amd64 /bin/sh -c set -ex; apt-get update; apt-get upgrade -y; apt-get install -y apt-transport-https ca-certificates curl gnupg2 lsb-release; apt-get install -y libkrb5-3 libpq5 libnuma1 unixodbc-dev; apt-get install -y netcat # buildkit
RUN |1 TARGETPLATFORM=linux/amd64 /bin/sh -c set -ex; curl -fsS "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list" > /etc/apt/sources.list.d/mssql-release.list; curl -fsS 'https://packages.microsoft.com/keys/microsoft.asc' | apt-key add -; apt-get update; ACCEPT_EULA=Y apt-get install -y msodbcsql18; if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ACCEPT_EULA=Y apt-get -y install msodbcsql17; fi # buildkit
RUN |1 TARGETPLATFORM=linux/amd64 /bin/sh -c set -ex; curl -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -; echo 'deb http://apt.postgresql.org/pub/repos/apt jammy-pgdg main' > /etc/apt/sources.list.d/pgdg.list; apt-get -y update; apt-get install -y postgresql-client-16; find /usr/bin -name 'pg*' -not -path '/usr/bin/pg_dump' -delete # buildkit
RUN |1 TARGETPLATFORM=linux/amd64 /bin/sh -c set -ex; apt-get -y remove gnupg2; apt-get -y auto-remove; apt-get -y clean; rm -rf /var/lib/apt/lists/* /usr/share/doc/ /usr/share/man/ /usr/share/locale/ # buildkit
ARG HGE_BINARY_NAME=graphql-engine
ENV HGE_BINARY=graphql-engine
COPY rootfs/bin/ /bin/ # buildkit
COPY rootfs/srv/ /srv/ # buildkit
HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:8080/healthz || exit 1"] "0s" "0s" "10s" "0s" '\x00'}
CMD ["/bin/sh" "-c" "\"${HGE_BINARY}\" serve"]
RUN /bin/sh -c mkdir -p /.hasura && chgrp -R 0 /.hasura && chmod -R g=u /.hasura # buildkit
ENV HASURA_GRAPHQL_SHOW_UPDATE_NOTIFICATION=false
COPY docker-entrypoint.sh /bin/ # buildkit
COPY --chmod=+x hasura-cli /bin/hasura-cli # buildkit
ENV HASURA_GRAPHQL_CLI_ENVIRONMENT=server-on-docker
ARG HGE_BINARY
ENV HGE_BINARY=graphql-engine-pro
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["/bin/sh" "-c" "$HGE_BINARY serve"]
ENV HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets
ENV HASURA_GRAPHQL_ENABLE_TELEMETRY=false
ENV HASURA_GRAPHQL_INFER_FUNCTION_PERMISSIONS=false
ENV HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT=180
ENV HASURA_GRAPHQL_SHOW_UPDATE_NOTIFICATION=false
ENV HASURA_GRAPHQL_SERVER_PORT=8080
COPY services/hasura/bin/ /bin/ # buildkit
ENTRYPOINT ["/bin/entrypoint.sh"]
CMD ["graphql-engine" "serve"]
COPY services/hasura/metadata /hasura-metadata # buildkit
COPY services/hasura/migrations /hasura-migrations # buildkit
USER 1001
LABEL project=alertesecours

Labels

Key Value
org.opencontainers.image.created 2025-04-02T16:12:06.685Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision 9c7f586b4c8262c460db0300adc5e855682df2bf
org.opencontainers.image.source https://git.devthefuture.org/alerte-secours/as-services
org.opencontainers.image.title as-services
org.opencontainers.image.url https://git.devthefuture.org/alerte-secours/as-services
org.opencontainers.image.version sha-9c7f586
project alertesecours
Details
Container
2025-04-02 16:12:52 +00:00
24
OCI / Docker
linux/amd64
156 MiB
Versions (125) View all
latest 2025-04-02
main 2025-04-02
sha-9c7f586 2025-04-02
sha-f154dfd 2025-03-18
sha-36a8c54 2025-03-16