Skip to content

Commit

Permalink
Merge pull request #2011 from SUSE/for-deploy-5
Browse files Browse the repository at this point in the history
🤖: Update build recipes for SP5
  • Loading branch information
dirkmueller authored Nov 14, 2024
2 parents 69cebe4 + 69da7a2 commit 4aff601
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 6 additions & 3 deletions postgres-15-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@
#!BuildTag: suse/postgres:%%pg_minor_version%%
#!BuildName: suse-postgres-15
#!BuildVersion: 15.5.15
FROM registry.suse.com/bci/bci-base:15.5
FROM registry.suse.com/bci/bci-micro:15.5 AS target
FROM suse/sle15:15.5 AS builder
COPY --from=target / /target

RUN set -euo pipefail; \
zypper -n install --no-recommends libpq5 postgresql15-server findutils; \
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends libpq5 postgresql15-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.5
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-15-image/postgres-15-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 14 17:07:15 UTC 2024 - SUSE Update Bot <[email protected]>

- switch to multistage build

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

Expand Down

0 comments on commit 4aff601

Please sign in to comment.