This commit is contained in:
parent
1b070baca4
commit
6e733ca9ca
14
Dockerfile
14
Dockerfile
@ -8,11 +8,13 @@ RUN set -ex \
|
||||
RUN set -ex \
|
||||
&& git clone https://github.com/wal-g/wal-g/ $GOPATH/src/wal-g \
|
||||
&& cd $GOPATH/src/wal-g/ \
|
||||
&& git checkout $WALG_VERSION \
|
||||
&& make pg_clean \
|
||||
&& git checkout $WALG_VERSION
|
||||
RUN set -ex \
|
||||
&& make deps \
|
||||
&& GOBIN=/usr/local/bin make pg_install \
|
||||
&& /wal-g --help
|
||||
&& make pg_build \
|
||||
&& GOBIN=/usr/local/bin make pg_install
|
||||
RUN wal-g --help
|
||||
RUN ls -la /usr/local/bin/wal-g*
|
||||
|
||||
FROM alpine:3.11.5
|
||||
COPY --from=builder /wal-g /
|
||||
FROM alpine:3
|
||||
COPY --from=builder /usr/local/bin/wal-g /usr/local/bin/wal-g
|
Loading…
x
Reference in New Issue
Block a user