fix(dockerfiles): Update CMD instruction in 'Dockerfile.dev' to use exec form instead of shell form

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

Signed-off-by: Mert Şişmanoğlu <mert190737fb@gmail.com>
This commit is contained in:
Mert Şişmanoğlu 2025-01-13 23:14:15 +03:00
parent b462778491
commit 48dbdc6f2d
No known key found for this signature in database
GPG Key ID: DE20FFCF203C9573

View File

@ -47,7 +47,7 @@ RUN apk add --no-cache \
RUN echo -e "\nYou are now in a development container. Run '\e\033[1mmake help\e\033[0m' to learn about\navailable make targets.\n" > /etc/motd \
&& echo -e "cat /etc/motd\nPS1=\"\e[0;32m\u@docker-cli-dev\\$ \e[0m\"" >> /root/.bashrc \
&& echo -e "source /etc/bash/bash_completion.sh" >> /root/.bashrc
CMD bash
CMD ["/bin/bash"]
ENV DISABLE_WARN_OUTSIDE_CONTAINER=1
ENV PATH=$PATH:/go/src/github.com/docker/cli/build