Skip to content

Commit

Permalink
Dockerfile: Use 'SHELL' command to set default shell
Browse files Browse the repository at this point in the history
This commit updates the Dockerfile to use the `SHELL` command to set the
default shell to bash.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
  • Loading branch information
stephanosio committed Oct 22, 2024
1 parent 54636b6 commit 1026a02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ARG CMAKE_VERSION=3.30.5
ARG UID=1001
ARG GID=1001

# Make bash the default shell
ENV SHELL=/bin/bash
# Set default shell during Docker image build to bash
SHELL ["/bin/bash", "-c"]

# Install packages
RUN apt-get clean
Expand Down

0 comments on commit 1026a02

Please sign in to comment.