Merge pull request #5742 from mertssmnoglu/fix-dockerfile-exec-form

fix/dockerfiles: Update CMD instruction in 'Dockerfile.dev' to use exec form
This commit is contained in:
Sebastiaan van Stijn 2025-02-25 15:59:09 +01:00 committed by GitHub
commit ffdfc5f94d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,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