Skip to content

Commit dd4748d

Browse files
author
Wilson E. Husin
committed
Distroless requires CMD to be in vector format
Without explicit vector format, CMD / ENTRYPOINT implicitly invokes #!/bin/sh See: https://docs.docker.com/engine/reference/builder/#cmd Signed-off-by: Wilson E. Husin <[email protected]>
1 parent 2f93060 commit dd4748d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CMD1
1818

1919
ADD BINARY /sonobuoy
2020
WORKDIR /
21-
CMD /sonobuoy aggregator --no-exit -v 3 --logtostderr
21+
CMD ["/sonobuoy", "aggregator", "--no-exit", "-v", "3", "--logtostderr"]

0 commit comments

Comments
 (0)