Skip to content

Commit

Permalink
ceph-daemon: update packages
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt committed Sep 3, 2024
1 parent d9b48cb commit bd6e4a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ceph-daemon/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
10 changes: 10 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit bd6e4a1

Please sign in to comment.