From 1ebdde24051572ecfacd5c2e72a37c3a2b72f372ae761746a13622a4776e52c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 14 Aug 2024 12:35:28 +0000 Subject: [PATCH] [info=f3a500f59b20385015b51977dbecf228] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/389-ds-container?expand=0&rev=198 --- 389-ds-container.changes | 5 +++++ Dockerfile | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/389-ds-container.changes b/389-ds-container.changes index d851032..afdd471 100644 --- a/389-ds-container.changes +++ b/389-ds-container.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 14 12:30:32 UTC 2024 - Dirk Mueller + +- install packages first + ------------------------------------------------------------------- Thu Aug 8 19:28:10 UTC 2024 - Dirk Mueller diff --git a/Dockerfile b/Dockerfile index ce6d7db..640a9f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,8 @@ FROM opensuse/tumbleweed:latest +RUN set -euo pipefail; zypper -n in --no-recommends 389-ds timezone openssl nss_synth; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} + # Define labels according to https://en.opensuse.org/Building_derived_containers # labelprefix=org.opensuse.application.389-ds LABEL org.opencontainers.image.authors="william.brown@suse.com" @@ -37,8 +39,6 @@ LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI" LABEL org.opensuse.release-stage="released" # endlabelprefix LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/389-ds-container/README.md" - -RUN set -euo pipefail; zypper -n in --no-recommends 389-ds timezone openssl nss_synth; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} CMD ["/usr/lib/dirsrv/dscontainer", "-r"] EXPOSE 3389 3636