This commit is contained in:
parent
1c6e83996c
commit
722b301a89
13
Dockerfile
13
Dockerfile
@ -1,20 +1,9 @@
|
|||||||
FROM golang:1-alpine AS builder
|
FROM golang:1-alpine AS builder
|
||||||
|
|
||||||
ENV WALG_VERSION=v3.0.7
|
ENV WALG_VERSION=v3.0.7
|
||||||
ENV BROTLI_VERSION=v1.1.0
|
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk add --no-cache wget cmake git build-base bash
|
&& apk add --no-cache wget git build-base bash brotli-dev
|
||||||
|
|
||||||
RUN set -ex \
|
|
||||||
&& cd /tmp \
|
|
||||||
&& wget -qO - https://github.com/google/brotli/archive/${BROTLI_VERSION}.tar.gz | tar xz -f '-' \
|
|
||||||
&& cd brotli* \
|
|
||||||
&& mkdir out \
|
|
||||||
&& cd out \
|
|
||||||
&& ../configure-cmake --disable-debug \
|
|
||||||
&& make \
|
|
||||||
&& make install
|
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& git clone https://github.com/wal-g/wal-g/ $GOPATH/src/wal-g \
|
&& git clone https://github.com/wal-g/wal-g/ $GOPATH/src/wal-g \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user