postgres-with-walg/Dockerfile
Matt Avery 1b070baca4
Some checks failed
Build Docker Image / build (push) Failing after 1m27s
workflow
2025-06-24 22:21:45 -04:00

18 lines
451 B
Docker

FROM golang:1-alpine AS builder
ENV WALG_VERSION=v3.0.7
RUN set -ex \
&& apk add --no-cache wget git build-base bash brotli-dev
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 \
&& make deps \
&& GOBIN=/usr/local/bin make pg_install \
&& /wal-g --help
FROM alpine:3.11.5
COPY --from=builder /wal-g /