Closed brunob45 closed 3 months ago
When building the docker image using the provided Dockerfile, this warning is reported:
WARN: JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 49)
Adding SHELL ["/bin/ash", "-c"] just before the CMD statement fixes this warning. I chose ash as it is the default shell for apline.
SHELL ["/bin/ash", "-c"]
CMD
ash
When building the docker image using the provided Dockerfile, this warning is reported:
Adding
SHELL ["/bin/ash", "-c"]
just before theCMD
statement fixes this warning. I choseash
as it is the default shell for apline.