diff --git a/docker/bionic-tsan.Dockerfile b/docker/bionic-tsan.Dockerfile index d60c3c4f6..98c50693d 100644 --- a/docker/bionic-tsan.Dockerfile +++ b/docker/bionic-tsan.Dockerfile @@ -18,7 +18,7 @@ RUN apt-get update \ && locale-gen en_US.UTF-8 RUN groupadd -g 1000 fishuser \ - && useradd -d /home/fishuser -m -u 1000 -g 1000 fishuser \ + && useradd -p $(openssl passwd -1 fish) -d /home/fishuser -m -u 1000 -g 1000 fishuser \ && adduser fishuser sudo \ && mkdir -p /home/fishuser/fish-build \ && mkdir /fish-source \ diff --git a/docker/bionic.Dockerfile b/docker/bionic.Dockerfile index 01d71b1d9..ffbeb2a1c 100644 --- a/docker/bionic.Dockerfile +++ b/docker/bionic.Dockerfile @@ -17,7 +17,7 @@ RUN apt-get update \ && locale-gen en_US.UTF-8 RUN groupadd -g 1000 fishuser \ - && useradd -d /home/fishuser -m -u 1000 -g 1000 fishuser \ + && useradd -p $(openssl passwd -1 fish) -d /home/fishuser -m -u 1000 -g 1000 fishuser \ && adduser fishuser sudo \ && mkdir -p /home/fishuser/fish-build \ && mkdir /fish-source \ diff --git a/docker/centos7.Dockerfile b/docker/centos7.Dockerfile index 671f2e6aa..94ed5e748 100644 --- a/docker/centos7.Dockerfile +++ b/docker/centos7.Dockerfile @@ -15,7 +15,7 @@ RUN ln -s /usr/bin/cmake3 /usr/bin/cmake \ && pip3 install pexpect RUN groupadd -g 1000 fishuser \ - && useradd -d /home/fishuser -m -u 1000 -g 1000 fishuser -G wheel \ + && useradd -p $(openssl passwd -1 fish) -d /home/fishuser -m -u 1000 -g 1000 fishuser -G wheel \ && mkdir -p /home/fishuser/fish-build \ && mkdir /fish-source \ && chown -R fishuser:fishuser /home/fishuser /fish-source