Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph-daemon: update packages #510

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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