mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-13 19:33:55 +03:00
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:
parent
b42bfe2c10
commit
66105d6741
10
packaging/graphql-engine/Dockerfile
Normal file
10
packaging/graphql-engine/Dockerfile
Normal 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
|
@ -1,8 +0,0 @@
|
||||
ARG BASE_IMAGE
|
||||
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
COPY rootfs/graphql-engine /bin/
|
||||
COPY rootfs/srv/ /srv/
|
||||
|
||||
CMD ["graphql-engine", "serve"]
|
@ -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/*
|
Loading…
Reference in New Issue
Block a user