Add a password for fishuser accounts in some Docker images

The password is fish
This commit is contained in:
ridiculousfish 2021-01-18 15:36:55 -08:00
parent e2273bacb2
commit 7f15ec51fd
3 changed files with 3 additions and 3 deletions

View file

@ -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 \

View file

@ -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 \

View file

@ -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