Skip to content

Commit

Permalink
Test build for #1757
Browse files Browse the repository at this point in the history
  • Loading branch information
SUSE Update Bot committed Sep 27, 2024
1 parent 73ae0d1 commit f0deda9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions dotnet-8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ COPY dotnet-apphost-pack-8.0-8.0.8-1.x86_64.rpm /tmp/
COPY aspnetcore-targeting-pack-8.0-8.0.8-1.x86_64.rpm /tmp/
#!RemoteAssetUrl: https://packages.microsoft.com/sles/15/prod/Packages/a/aspnetcore-runtime-8.0-8.0.8-1.x86_64.rpm
COPY aspnetcore-runtime-8.0-8.0.8-1.x86_64.rpm /tmp/
#!RemoteAssetUrl: https://packages.microsoft.com/sles/15/prod/Packages/d/dotnet-sdk-8.0-8.0.401-1.x86_64.rpm
COPY dotnet-sdk-8.0-8.0.401-1.x86_64.rpm /tmp/
#!RemoteAssetUrl: https://packages.microsoft.com/sles/15/prod/Packages/d/dotnet-sdk-8.0-8.0.402-1.x86_64.rpm
COPY dotnet-sdk-8.0-8.0.402-1.x86_64.rpm /tmp/


# Workaround for https://github.com/openSUSE/obs-build/issues/487
Expand Down
15 changes: 8 additions & 7 deletions sac-postfix-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
# You can contact the BCI team via https://github.com/SUSE/bci/discussions

#!UseOBSRepositories
#!ExclusiveArch: aarch64 x86_64
#!BuildTag: containers/postfix:%%postfix_version%%
#!BuildTag: containers/postfix:%%postfix_version%%-%RELEASE%
#!BuildName: containers-postfix-%%postfix_version%%

#!BuildTag: suse/postfix:%%postfix_version%%
#!BuildTag: suse/postfix:%%postfix_version%%-%RELEASE%
#!BuildName: suse-postfix-%%postfix_version%%
#!BuildVersion: 15.7
FROM bci/bci-base:15.7
FROM suse/sle15:15.7

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; \
Expand All @@ -28,15 +28,16 @@ RUN set -euo pipefail; \

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.application.postfix
LABEL org.opencontainers.image.title="Postfix"
LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
LABEL org.opencontainers.image.title="SLE Postfix"
LABEL org.opencontainers.image.description="Postfix container is fast and secure mail server, based on the SLE Base Container Image."
LABEL org.opencontainers.image.version="%%postfix_version%%"
LABEL org.opencontainers.image.url="https://apps.rancher.io/applications/postfix"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="SUSE LLC"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opencontainers.image.ref.name="%%postfix_version%%-%RELEASE%"
LABEL org.opensuse.reference="dp.apps.rancher.io/containers/postfix:%%postfix_version%%-%RELEASE%"
LABEL org.opensuse.reference="dp.apps.rancher.io/suse/postfix:%%postfix_version%%-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.supportlevel="techpreview"
LABEL com.suse.eula="sle-eula"
Expand Down
8 changes: 4 additions & 4 deletions sac-postfix-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ By default a simple relayhost postfix instance is started.
The command to run this container is:

```sh
podman run -d --rm --name postfix -p 25:25 -e SMTP_RELAYHOST=smtp.example.com dp.apps.rancher.io/containers/postfix:%%postfix_version%%
podman run -d --rm --name postfix -p 25:25 -e SMTP_RELAYHOST=smtp.example.com dp.apps.rancher.io/suse/postfix:%%postfix_version%%
```

In all examples, `podman` can be replaced directly with `docker`.
Expand Down Expand Up @@ -118,7 +118,7 @@ podman run -d --rm --name postfix -p "25:25" \
-e SMTP_USERNAME=mailer \
-e SMTP_PASSWORD='XXX' \
-v "/srv/postfix/vmail:/var/spool/vmail:Z" \
dp.apps.rancher.io/containers/postfix:%%postfix_version%%
dp.apps.rancher.io/suse/postfix:%%postfix_version%%
```

Will store the mails for the users `[email protected]`, `[email protected]`,
Expand Down Expand Up @@ -180,7 +180,7 @@ podman run -d --rm --name postfix -p 25:25 \
-v "/srv/postfix/etc/vhosts:/etc/postfix/vhosts:z,ro" \
-v "/srv/postfix/etc/vmaps:/etc/postfix/vmaps:z,ro" \
-v "/srv/postfix/etc/vquota:/etc/postfix/vquota:z,ro" \
dp.apps.rancher.io/containers/postfix:%%postfix_version%%
dp.apps.rancher.io/suse/postfix:%%postfix_version%%
```

### LDAP
Expand All @@ -196,7 +196,7 @@ To deliver the mails via a LMTP service, the container needs to know the host
on which such a service is running:

```sh
podman run -d --rm --name postfix -p 25:25 -e MYDESTINATION=example.com -e LMTP=lmtp.example.com dp.apps.rancher.io/containers/postfix:%%postfix_version%%
podman run -d --rm --name postfix -p 25:25 -e MYDESTINATION=example.com -e LMTP=lmtp.example.com dp.apps.rancher.io/suse/postfix:%%postfix_version%%
```

## Licensing
Expand Down

0 comments on commit f0deda9

Please sign in to comment.