mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
effb221d97
https://github.com/hasura/graphql-engine-mono/pull/1726 GitOrigin-RevId: ae87ca45a111fcdb25ba9c53c1bfd8650e1be78c
41 lines
1.2 KiB
Docker
41 lines
1.2 KiB
Docker
FROM node:12.22-buster
|
|
|
|
ARG gcloud_version="207.0.0"
|
|
|
|
# update npm
|
|
RUN npm install -g npm@6
|
|
|
|
# install dependencies
|
|
RUN apt-get update && apt-get install -y \
|
|
apt-transport-https \
|
|
ca-certificates \
|
|
curl \
|
|
netcat \
|
|
libpq5 \
|
|
libgtk2.0-0 \
|
|
libgtk-3-0 \
|
|
libgbm-dev \
|
|
libxtst6 \
|
|
xauth \
|
|
libnotify-dev \
|
|
libgconf-2-4 \
|
|
libnss3 \
|
|
libxss1 \
|
|
libasound2 \
|
|
xvfb \
|
|
&& curl -Lo /tmp/gcloud-${gcloud_version}.tar.gz https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${gcloud_version}-linux-x86_64.tar.gz \
|
|
&& tar -xzf /tmp/gcloud-${gcloud_version}.tar.gz -C /usr/local \
|
|
&& /usr/local/google-cloud-sdk/install.sh \
|
|
&& 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 libkrb5-3 libnuma1 unixodbc-dev msodbcsql17 \
|
|
&& 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/
|
|
|
|
ENV PATH "/usr/local/google-cloud-sdk/bin:$PATH"
|