mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-20 03:36:50 +00:00
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:
parent
8f580adaf8
commit
06e9c955de
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"]
|
||||
|
@ -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"]
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user