Skip to content

Commit 31e595a

Browse files
authored
build-yocto: Set the default shell to bash
As suggested by @nandk85 in #245 Signed-off-by: Gianpaolo Macario <[email protected]>
1 parent 16e6804 commit 31e595a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build-yocto/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ RUN apt-get install -y curl dosfstools mtools parted syslinux tree
1515
RUN curl http://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo
1616
RUN chmod a+x /usr/local/bin/repo
1717

18+
# Set the default shell to bash instead of dash
19+
RUN echo "dash dash/sh boolean false" | debconf-set-selections && dpkg-reconfigure dash
20+
1821
# Create user "jenkins"
1922
RUN id jenkins 2>/dev/null || useradd --uid 1000 --create-home jenkins
2023

0 commit comments

Comments
 (0)