From d87c42fd3ba398af29e27937e4080b963278c4c43de16a26269f0f7d55798781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 14 Aug 2024 12:37:00 +0000 Subject: [PATCH] [info=ca656cb8eff30681d20629844ad3531a] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/init-image?expand=0&rev=162 --- Dockerfile | 4 ++-- init-image.changes | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dda5854..6d879ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,8 @@ FROM opensuse/tumbleweed:latest +RUN set -euo pipefail; zypper -n in --no-recommends systemd gzip; 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.bci.init LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)" @@ -39,8 +41,6 @@ LABEL org.opensuse.release-stage="released" LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/init-image/README.md" LABEL io.artifacthub.package.logo-url="https://opensource.suse.com/bci/SLE_BCI_logomark_green.svg" LABEL usage="This container should only be used to build containers for daemons. Add your packages and enable services using systemctl." - -RUN set -euo pipefail; zypper -n in --no-recommends systemd gzip; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} CMD ["/usr/lib/systemd/systemd"] RUN mkdir -p /etc/systemd/system.conf.d/ && \ diff --git a/init-image.changes b/init-image.changes index 3f0f9f7..551f95f 100644 --- a/init-image.changes +++ b/init-image.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