Skip to content

Commit

Permalink
Merge pull request #2012 from SUSE/for-deploy-6
Browse files Browse the repository at this point in the history
🤖: Update build recipes for SP6
  • Loading branch information
dirkmueller authored Nov 14, 2024
2 parents a3e85ec + 072ce1d commit 94dd225
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 6 additions & 3 deletions postgres-16-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@
#!BuildName: suse-postgres-16
#!BuildVersion: 15.6.16
#!BuildRelease: 35
FROM registry.suse.com/bci/bci-base:15.6
FROM registry.suse.com/bci/bci-micro:15.6 AS target
FROM suse/sle15:15.6 AS builder
COPY --from=target / /target

RUN set -euo pipefail; \
zypper -n install --no-recommends libpq5 postgresql16-server findutils; \
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends libpq5 postgresql16-server findutils coreutils sed util-linux; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

FROM registry.suse.com/bci/bci-micro:15.6
COPY --from=builder /target /
# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.application.postgres
LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"
Expand Down
5 changes: 5 additions & 0 deletions postgres-16-image/postgres-16-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 14 17:06:48 UTC 2024 - SUSE Update Bot <[email protected]>

- switch to multistage build

-------------------------------------------------------------------
Thu Oct 31 16:12:08 UTC 2024 - SUSE Update Bot <[email protected]>

Expand Down

0 comments on commit 94dd225

Please sign in to comment.