From 0e0cc7940214d22e548446fc6c9b786dd1fde486 Mon Sep 17 00:00:00 2001 From: Omar Lopez Date: Tue, 25 Oct 2022 19:29:12 +0200 Subject: [PATCH 1/2] [Hacktoberfest] update docker versions --- docker-image/postgres-with-wal-g/Dockerfile | 4 ++-- docker-image/wal-g/Dockerfile | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-image/postgres-with-wal-g/Dockerfile b/docker-image/postgres-with-wal-g/Dockerfile index cc07ca7..97415cf 100644 --- a/docker-image/postgres-with-wal-g/Dockerfile +++ b/docker-image/postgres-with-wal-g/Dockerfile @@ -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 diff --git a/docker-image/wal-g/Dockerfile b/docker-image/wal-g/Dockerfile index ea470eb..a355790 100644 --- a/docker-image/wal-g/Dockerfile +++ b/docker-image/wal-g/Dockerfile @@ -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 @@ -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 / \ No newline at end of file From d6a49093cfd47730930ba068bcfad763d9d6429c Mon Sep 17 00:00:00 2001 From: Omar Lopez Date: Tue, 25 Oct 2022 19:30:02 +0200 Subject: [PATCH 2/2] [Hacktoberfest] updates build scripts --- scripts/build-postgres-with-wal-g-docker-image.sh | 2 +- scripts/build-wal-g-docker-image.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-postgres-with-wal-g-docker-image.sh b/scripts/build-postgres-with-wal-g-docker-image.sh index c810b64..7f15bb1 100755 --- a/scripts/build-postgres-with-wal-g-docker-image.sh +++ b/scripts/build-postgres-with-wal-g-docker-image.sh @@ -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 \ No newline at end of file +docker build ./docker-image/postgres-with-wal-g -t stephaneklein/postgres-with-walg:15-alpine-walg2.0.0 \ No newline at end of file diff --git a/scripts/build-wal-g-docker-image.sh b/scripts/build-wal-g-docker-image.sh index 5ec8069..e6d7c73 100755 --- a/scripts/build-wal-g-docker-image.sh +++ b/scripts/build-wal-g-docker-image.sh @@ -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 \ No newline at end of file +docker build ./docker-image/wal-g/ -t stephaneklein/wal-g:v2.0.1-alpine3.16 \ No newline at end of file