clang-format: update "nm-code-format-container.sh" script to use Fedora 34 container

This commit is contained in:
Thomas Haller 2021-05-03 21:51:44 +02:00
parent 21321ac736
commit fb2ea999ea
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -37,7 +37,7 @@ if ! podman container exists "$PODNAME" ; then
--name="$PODNAME" \
-v "$DIR:/tmp/NetworkManager:Z" \
-w /tmp/NetworkManager \
fedora:33 \
fedora:34 \
/bin/bash -c 'dnf upgrade -y && dnf install -y git /usr/bin/clang-format && ./contrib/scripts/nm-code-format.sh -i'
exit 0
fi