as-services/hasura (sha-36a8c54)
Published 2025-03-16 10:18:39 +00:00 by org-bot-alerte-secours
Installation
docker pull git.devthefuture.org/alerte-secours/as-services/hasura:sha-36a8c54
sha256:67c0db81c57e1dc6182fb1996c7000488dfb3b6c7784bac27b02e393473000be
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 |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2025-03-16T10:18:11.009Z |
org.opencontainers.image.description | |
org.opencontainers.image.licenses | |
org.opencontainers.image.ref.name | ubuntu |
org.opencontainers.image.revision | 36a8c54e131214e06f95a354be8027e8a3503a6a |
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-36a8c54 |
Details
2025-03-16 10:18:39 +00:00
Versions (125)
View all
Container
3
OCI / Docker
linux/amd64
156 MiB
latest
2025-04-02
main
2025-04-02
sha-9c7f586
2025-04-02
sha-f154dfd
2025-03-18
sha-36a8c54
2025-03-16