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:
parent
b462778491
commit
48dbdc6f2d
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user