2019-08-01 10:30:07 +03:00
|
|
|
FROM hasura/haskell-docker-packager:20190731
|
2019-03-14 17:55:33 +03:00
|
|
|
MAINTAINER vamshi@hasura.io
|
2018-06-27 16:11:32 +03:00
|
|
|
|
2019-09-24 13:22:50 +03:00
|
|
|
RUN apt-get update && apt-get install -y libpq5 upx git cmake pkgconf \
|
2018-07-24 10:47:09 +03:00
|
|
|
&& update-ca-certificates \
|
|
|
|
&& mkdir -p /usr/src/busybox/rootfs/etc/ssl/certs \
|
|
|
|
&& cp -L /etc/ssl/certs/* /usr/src/busybox/rootfs/etc/ssl/certs/ \
|
2019-09-24 13:22:50 +03:00
|
|
|
&& git clone https://github.com/google/brotli.git && cd brotli && mkdir out && cd out && ../configure-cmake \
|
|
|
|
&& make && make test && make install && ldconfig && cd ../../ \
|
|
|
|
&& rm -rf brotli \
|
|
|
|
&& cp /usr/local/lib/libbrotlienc.so.1 /usr/src/busybox/rootfs/usr/lib/x86_64-linux-gnu \
|
|
|
|
&& cp /usr/local/lib/libbrotlidec.so.1 /usr/src/busybox/rootfs/usr/lib/x86_64-linux-gnu \
|
|
|
|
&& cp /usr/local/lib/libbrotlicommon.so.1 /usr/src/busybox/rootfs/usr/lib/x86_64-linux-gnu \
|
2019-08-01 10:30:07 +03:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|