mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
66beb02f7b
* Revert "add brotli shared lib to packager image (#2924)"
This reverts commit 79414cb225
.
* remove unneeded dockerfile
* remove brotli traces in ci images and compression test
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
19 lines
674 B
Docker
19 lines
674 B
Docker
FROM golang:1.13
|
|
|
|
ARG upx_version="3.94"
|
|
|
|
# install go dependencies
|
|
RUN go get github.com/mitchellh/gox \
|
|
&& go get github.com/hasura/go-bindata/go-bindata \
|
|
&& go get github.com/tcnksm/ghr
|
|
|
|
# install UPX and netcat
|
|
RUN apt-get update && apt-get install -y \
|
|
xz-utils netcat libpq5 postgresql-client \
|
|
&& curl -Lo /tmp/upx-${upx_version}.tar.xz https://github.com/upx/upx/releases/download/v${upx_version}/upx-${upx_version}-amd64_linux.tar.xz \
|
|
&& xz -d -c /tmp/upx-${upx_version}.tar.xz \
|
|
| tar -xOf - upx-${upx_version}-amd64_linux/upx > /bin/upx \
|
|
&& chmod a+x /bin/upx \
|
|
&& apt-get -y auto-remove \
|
|
&& rm -rf /var/lib/apt/lists/*
|