Skip to content

Commit fd02d66

Browse files
authored
Merge pull request #1813 from SUSE/for-deploy-Tumbleweed
🤖: Update build recipes for Tumbleweed
2 parents 2895435 + cdfffd3 commit fd02d66

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

postfix-image/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,16 @@
1919
#!BuildTag: opensuse/postfix:%%postfix_version%%-%RELEASE%
2020
#!BuildTag: opensuse/postfix:latest
2121

22-
FROM opensuse/tumbleweed:latest
22+
FROM opensuse/bci/bci-micro:latest AS target
23+
FROM opensuse/tumbleweed:latest AS builder
24+
COPY --from=target / /target
2325

2426
RUN set -euo pipefail; \
25-
zypper -n install --no-recommends ca-certificates-mozilla cyrus-sasl cyrus-sasl-plain ed gawk netcfg postfix postfix-ldap postfix-lmdb timezone mandoc spamassassin-spamc spamass-milter; \
27+
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends ca-certificates-mozilla curl cyrus-sasl cyrus-sasl-plain ed findutils gawk grep netcfg openldap2 openldap2-client postfix postfix-ldap postfix-lmdb sed timezone mandoc spamassassin-spamc spamass-milter; \
2628
zypper -n clean; \
2729
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}
28-
30+
FROM opensuse/bci/bci-micro:latest
31+
COPY --from=builder /target /
2932
# Define labels according to https://en.opensuse.org/Building_derived_containers
3033
# labelprefix=org.opensuse.application.postfix
3134
LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)"

postfix-image/postfix-image.changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-------------------------------------------------------------------
2+
Tue Oct 8 11:38:12 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
3+
4+
- switch postfix to multi-stage micro based build
5+
16
-------------------------------------------------------------------
27
Wed Sep 25 17:36:16 UTC 2024 - Dirk Mueller <dmueller@suse.com>
38

0 commit comments

Comments
 (0)