mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-19 13:31:43 +03:00
281cb771ff
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com> Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com> Co-authored-by: Vamshi Surabhi <6562944+0x777@users.noreply.github.com> Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com> GitOrigin-RevId: 699c453b9692e1b822f393f23ff5e6db4e010d57
23 lines
806 B
Docker
23 lines
806 B
Docker
FROM debian:stretch-20190228-slim
|
|
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y gnupg2 curl apt-transport-https \
|
|
&& 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 \
|
|
&& ACCEPT_EULA=Y apt-get install -y ca-certificates libkrb5-3 libpq5 libnuma1 unixodbc-dev msodbcsql17 \
|
|
&& apt-get -y remove curl gnupg2 \
|
|
&& apt-get -y auto-remove \
|
|
&& apt-get -y clean \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& rm -rf /usr/share/doc/ \
|
|
&& rm -rf /usr/share/man/ \
|
|
&& rm -rf /usr/share/locale/
|
|
|
|
COPY rootfs/graphql-engine /bin/
|
|
COPY rootfs/pg_dump /bin/
|
|
COPY rootfs/srv/* /srv
|
|
|
|
CMD ["graphql-engine", "serve"]
|