ci: fix cli-migrations-v2 build process (#4273)

This commit is contained in:
Aravind Shankar 2020-04-10 08:25:14 +05:30 committed by GitHub
parent 53e4f994d2
commit 029c77416f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,13 @@
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 FROM hasura/graphql-engine:v1.1.1
RUN wget http://ftp.us.debian.org/debian/pool/main/g/gcc-10/libstdc++6_10-20200312-2_amd64.deb -O lib.deb \ # install libstdc++6
&& busybox dpkg-deb -x lib.deb / \ COPY --from=packager /tmp/libstdc++6* .
&& rm lib.deb RUN busybox dpkg-deb -x libstdc++6*.deb / \
&& rm libstdc++6*.deb
# set an env var to let the cli know that # set an env var to let the cli know that
# it is running in server environment # it is running in server environment