Skip to content

Commit c3e430e

Browse files
authored
Merge pull request #2010 from SUSE/for-deploy-7
🤖: Update build recipes for SP7
2 parents ddc4275 + 8149227 commit c3e430e

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

postgres-16-image/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@
2222
#!BuildTag: suse/postgres:latest
2323
#!BuildName: suse-postgres-16
2424
#!BuildVersion: 15.7.16
25-
FROM suse/sle15:15.7
25+
FROM bci/bci-micro:15.7 AS target
26+
FROM suse/sle15:15.7 AS builder
27+
COPY --from=target / /target
2628

2729
RUN set -euo pipefail; \
28-
zypper -n install --no-recommends libpq5 postgresql16-server findutils; \
30+
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends libpq5 postgresql16-server findutils coreutils sed util-linux; \
2931
zypper -n clean; \
3032
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}
31-
33+
FROM bci/bci-micro:15.7
34+
COPY --from=builder /target /
3235
# Define labels according to https://en.opensuse.org/Building_derived_containers
3336
# labelprefix=com.suse.application.postgres
3437
LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"

postgres-16-image/postgres-16-image.changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-------------------------------------------------------------------
2+
Thu Nov 14 17:07:01 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
3+
4+
- switch to multistage build
5+
16
-------------------------------------------------------------------
27
Thu Oct 31 16:12:00 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
38

0 commit comments

Comments
 (0)