refactor: pull postgresql client from upstream docker image (#24)
All checks were successful
CD / Check changes (push) Successful in 11s
CD / Create tag (push) Successful in 7s
CD / Build and push (amd64) (push) Successful in 32s
CD / Build and push (arm64) (push) Successful in 1m58s
CD / Create manifest (push) Successful in 20s

Reviewed-on: #24
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #24.
This commit is contained in:
2025-11-14 17:35:04 +01:00
committed by t.behrendt
parent 725ef9000b
commit ca022fe596

View File

@@ -1,10 +1,14 @@
FROM alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412
FROM docker.io/postgres:18.1@sha256:28bda6d50590658221007b10573830c941b483e9d1a5bc2713a3f60477df8389 AS postgresql
FROM docker.io/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 AS base
COPY --from=postgresql /usr/bin/pg_dump /usr/local/bin/pg_dump
COPY --from=postgresql /usr/bin/psql /usr/local/bin/psql
RUN apk update && apk add --no-cache \
bash \
curl \
restic \
postgresql-client \
jq
WORKDIR /app