Skip to content

Update docker versions #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker-image/postgres-with-wal-g/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM stephaneklein/wal-g:v0.2.15-alpine3.11.5 AS wal-g
FROM postgres:12.2-alpine
FROM stephaneklein/wal-g:v2.0.1-alpine3.16 AS wal-g
FROM postgres:15-alpine

RUN apk update \
&& apk add gomplate
Expand Down
8 changes: 4 additions & 4 deletions docker-image/wal-g/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.14.1-alpine3.11 AS builder
FROM golang:1.19-alpine AS builder

ENV WALG_VERSION=v0.2.15
ENV BROTLI_VERSION=v1.0.7
ENV WALG_VERSION=v2.0.1
ENV BROTLI_VERSION=v1.0.9

RUN set -ex \
&& apk add --no-cache wget cmake git build-base bash
Expand All @@ -27,5 +27,5 @@ RUN set -ex \
&& install main/pg/wal-g / \
&& /wal-g --help

FROM alpine:3.11.5
FROM alpine:3.16
COPY --from=builder /wal-g /
2 changes: 1 addition & 1 deletion scripts/build-postgres-with-wal-g-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ cd "$(dirname "$0")/../"

./scripts/build-wal-g-docker-image.sh

docker build ./docker-image/postgres-with-wal-g -t stephaneklein/postgres-with-walg:12.2-alpine-walg0.2.15
docker build ./docker-image/postgres-with-wal-g -t stephaneklein/postgres-with-walg:15-alpine-walg2.0.0
2 changes: 1 addition & 1 deletion scripts/build-wal-g-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ set -e

cd "$(dirname "$0")/../"

docker build ./docker-image/wal-g/ -t stephaneklein/wal-g:v0.2.15-alpine3.11.5
docker build ./docker-image/wal-g/ -t stephaneklein/wal-g:v2.0.1-alpine3.16