Skip to content

Commit ffdfc5f

Browse files
authored
Merge pull request #5742 from mertssmnoglu/fix-dockerfile-exec-form
fix/dockerfiles: Update CMD instruction in 'Dockerfile.dev' to use exec form
2 parents 6bd9908 + 48dbdc6 commit ffdfc5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerfiles/Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RUN apk add --no-cache \
5050
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 \
5151
&& echo -e "cat /etc/motd\nPS1=\"\e[0;32m\u@docker-cli-dev\\$ \e[0m\"" >> /root/.bashrc \
5252
&& echo -e "source /etc/bash/bash_completion.sh" >> /root/.bashrc
53-
CMD bash
53+
CMD ["/bin/bash"]
5454
ENV DISABLE_WARN_OUTSIDE_CONTAINER=1
5555
ENV PATH=$PATH:/go/src/github.com/docker/cli/build
5656

0 commit comments

Comments
 (0)