diff --git a/Dockerfile b/Dockerfile index ac2393f..ce0a63f 100644 --- a/Dockerfile +++ b/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 / \ No newline at end of file +FROM alpine:3 +COPY --from=builder /usr/local/bin/wal-g /usr/local/bin/wal-g \ No newline at end of file