btrfs-progs: ci: update Dockerfile CMD syntax

Docker warns about CMD syntax, which is harmless in our case but let's
fix the warning by using the json (quoted strings in array) syntax.

  JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 29)

Explained in https://docs.docker.com/reference/build-checks/json-args-recommended .

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2025-02-11 18:59:30 +01:00
parent 8f580adaf8
commit 06e9c955de
8 changed files with 8 additions and 8 deletions

View File

@ -29,7 +29,7 @@ COPY ./test-build .
COPY ./run-tests .
COPY ./devel.tar.gz .
CMD ./test-build devel --disable-documentation --disable-libudev
CMD ["./test-build", "devel", "--disable-documentation", "--disable-libudev"]
# Continue with:
# cd /tmp

View File

@ -32,7 +32,7 @@ COPY ./test-build .
COPY ./run-tests .
COPY ./devel.tar.gz .
CMD ./test-build devel --disable-documentation --disable-libudev --disable-zoned
CMD ["./test-build", "devel", "--disable-documentation", "--disable-libudev", "--disable-zoned"]
# Continue with:
# cd /tmp

View File

@ -16,4 +16,4 @@ RUN apk add wget
COPY ./test-build .
COPY ./devel.tar.gz .
CMD ./test-build devel --disable-documentation --disable-backtrace --disable-libudev
CMD ["./test-build", "devel", "--disable-documentation", "--disable-backtrace", "--disable-libudev"]

View File

@ -16,4 +16,4 @@ RUN apk add wget
COPY ./test-build .
COPY ./devel.tar.gz .
CMD ./test-build devel --disable-documentation --disable-backtrace --disable-libudev
CMD ["./test-build", "devel", "--disable-documentation", "--disable-backtrace", "--disable-libudev"]

View File

@ -26,7 +26,7 @@ COPY ./run-tests .
COPY ./devel.tar.gz .
# The blkzoned.h exists but blk_zone.capacity is missing, disable zoned mode explicitly
CMD ./test-build devel --disable-documentation --disable-zoned
CMD ["./test-build", "devel", "--disable-documentation", "--disable-zoned"]
# Continue with:
# cd /tmp

View File

@ -26,7 +26,7 @@ COPY ./run-tests .
COPY ./devel.tar.gz .
# The blkzoned.h exists but blk_zone.capacity is missing, disable zoned mode explicitly
CMD ./test-build devel --disable-documentation --disable-zoned
CMD ["./test-build", "devel", "--disable-documentation", "--disable-zoned"]
# Continue with:
# cd /tmp

View File

@ -33,7 +33,7 @@ COPY ./test-build .
COPY ./run-tests .
COPY ./devel.tar.gz .
CMD ./test-build devel --disable-documentation
CMD ["./test-build", "devel", "--disable-documentation"]
# Continue with:
# cd /tmp

View File

@ -29,7 +29,7 @@ COPY ./test-build .
COPY ./run-tests .
COPY ./devel.tar.gz .
CMD ./test-build devel --disable-documentation
CMD ["./test-build", "devel", "--disable-documentation"]
# Continue with:
# cd /tmp