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 \