mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Add a password for fishuser accounts in some Docker images
The password is fish
This commit is contained in:
parent
e2273bacb2
commit
7f15ec51fd
3 changed files with 3 additions and 3 deletions
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue