Skip to content

Commit

Permalink
Merge pull request #1813 from SUSE/for-deploy-Tumbleweed
Browse files Browse the repository at this point in the history
🤖: Update build recipes for Tumbleweed
  • Loading branch information
dirkmueller authored Oct 8, 2024
2 parents 2895435 + cdfffd3 commit fd02d66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 6 additions & 3 deletions postfix-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@
#!BuildTag: opensuse/postfix:%%postfix_version%%-%RELEASE%
#!BuildTag: opensuse/postfix:latest

FROM opensuse/tumbleweed:latest
FROM opensuse/bci/bci-micro:latest AS target
FROM opensuse/tumbleweed:latest AS builder
COPY --from=target / /target

RUN set -euo pipefail; \
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; \
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; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

FROM opensuse/bci/bci-micro:latest
COPY --from=builder /target /
# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.application.postfix
LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)"
Expand Down
5 changes: 5 additions & 0 deletions postfix-image/postfix-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 8 11:38:12 UTC 2024 - SUSE Update Bot <[email protected]>

- switch postfix to multi-stage micro based build

-------------------------------------------------------------------
Wed Sep 25 17:36:16 UTC 2024 - Dirk Mueller <[email protected]>

Expand Down

0 comments on commit fd02d66

Please sign in to comment.