ci: build and publish multitenant docker image in cloud release pipeline

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4709
GitOrigin-RevId: 78c3a41fab37c20c674b55d8f5bd8a0a1f478115
This commit is contained in:
Vishnu Bharathi 2022-06-24 21:03:05 +05:30 committed by hasura-bot
parent b42bfe2c10
commit 66105d6741
4 changed files with 10 additions and 21 deletions

View File

@ -0,0 +1,10 @@
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
ARG HGE_BINARY_NAME=graphql-engine
ENV HGE_BINARY ${HGE_BINARY_NAME}
COPY rootfs/${HGE_BINARY} /bin/
COPY rootfs/srv/ /srv/
CMD "${HGE_BINARY}" serve

View File

@ -1,8 +0,0 @@
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
COPY rootfs/graphql-engine /bin/
COPY rootfs/srv/ /srv/
CMD ["graphql-engine", "serve"]

View File

@ -1,13 +0,0 @@
FROM hasura/haskell-docker-packager:20190731
MAINTAINER vamshi@hasura.io
RUN apt-get update && apt-get install -y libpq5 curl apt-transport-https upx \
&& curl -s https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list \
&& curl -s https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
&& apt-get update \
&& apt install -y unixodbc-dev freetds-dev \
&& ACCEPT_EULA=Y apt install --yes msodbcsql17 \
&& update-ca-certificates \
&& mkdir -p /usr/src/busybox/rootfs/etc/ssl/certs \
&& cp -L /etc/ssl/certs/* /usr/src/busybox/rootfs/etc/ssl/certs/ \
&& rm -rf /var/lib/apt/lists/*