From bd6e4a1d0a87779657f101f08d835bb1445fae9d Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Wed, 28 Aug 2024 08:59:40 +0200 Subject: [PATCH] ceph-daemon: update packages Signed-off-by: Christian Berendt --- ceph-daemon/Containerfile | 2 ++ scripts/build.sh | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/ceph-daemon/Containerfile b/ceph-daemon/Containerfile index 23b9272..ff0428a 100644 --- a/ceph-daemon/Containerfile +++ b/ceph-daemon/Containerfile @@ -11,6 +11,8 @@ RUN groupmod -g 64045 ceph RUN find / -path /proc -prune -o -group 167 -exec chgrp -h ceph {} \; RUN find / -path /proc -prune -o -user 167 -exec chown -h ceph {} \; +RUN dnf update + LABEL "org.opencontainers.image.documentation"="https://osism.tech/docs/" \ "org.opencontainers.image.licenses"="ASL 2.0" \ "org.opencontainers.image.source"="https://github.com/osism/container-images" \ diff --git a/scripts/build.sh b/scripts/build.sh index 94fb289..75b8058 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -38,6 +38,16 @@ if [[ $IMAGE == "cephclient" ]]; then --label "org.opencontainers.image.revision=$REVISION" \ --label "org.opencontainers.image.version=$VERSION" \ $BUILD_OPTS . +elif [[ $IMAGE == "ceph-daemon" ]]; then + docker buildx build \ + --load \ + --network=host \ + --build-arg "VERSION=$VERSION" \ + --tag "$REPOSITORY:$REVISION" \ + --label "org.opencontainers.image.created=$CREATED" \ + --label "org.opencontainers.image.revision=$REVISION" \ + --label "org.opencontainers.image.version=$VERSION" \ + $BUILD_OPTS . else docker buildx build \ --load \