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