mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Add Dockerfile for Fedora
This commit is contained in:
parent
d96a2e7052
commit
75142f0cde
1 changed files with 27 additions and 0 deletions
27
docker/fedora.Dockerfile
Normal file
27
docker/fedora.Dockerfile
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
FROM fedora:latest
|
||||||
|
|
||||||
|
RUN dnf install --assumeyes \
|
||||||
|
cmake \
|
||||||
|
gcc-c++ \
|
||||||
|
git-core \
|
||||||
|
ncurses-devel \
|
||||||
|
ninja-build \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
openssl \
|
||||||
|
sudo
|
||||||
|
|
||||||
|
RUN pip3 install pexpect
|
||||||
|
|
||||||
|
RUN groupadd -g 1000 fishuser \
|
||||||
|
&& 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
|
||||||
|
|
||||||
|
USER fishuser
|
||||||
|
WORKDIR /home/fishuser
|
||||||
|
|
||||||
|
COPY fish_run_tests.sh /
|
||||||
|
|
||||||
|
CMD /fish_run_tests.sh
|
Loading…
Reference in a new issue