FROM hasura/haskell-docker-packager:20190731 as packager WORKDIR /tmp RUN apt-get update && apt-get download libstdc++6 FROM hasura/graphql-engine:v1.1.1 # install libstdc++6 COPY --from=packager /tmp/libstdc++6* . RUN busybox dpkg-deb -x libstdc++6*.deb / \ && rm libstdc++6*.deb # set an env var to let the cli know that # it is running in server environment ENV HASURA_GRAPHQL_CLI_ENVIRONMENT=server-on-docker ENV HASURA_GRAPHQL_SHOW_UPDATE_NOTIFICATION=false COPY docker-entrypoint.sh /bin/ COPY cli-hasura-linux-amd64 /bin/hasura-cli COPY manifest.yaml /tmp/manifest.yaml RUN chmod +x /bin/hasura-cli \ && hasura-cli plugins install cli-ext --manifest-file /tmp/manifest.yaml \ && rm /tmp/manifest.yaml ENTRYPOINT ["docker-entrypoint.sh"] CMD ["graphql-engine", "serve"]