fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes Altmanningerdocker: remove unused packages cmake/ninja6071fe46d

master
1.1 KiB45 linesraw
1# Version set by updatecli.d/docker.yml
2FROM ubuntu:26.04
3LABEL org.opencontainers.image.source=https://github.com/fish-shell/fish-shell
4
5ENV LANG=C.UTF-8
6ENV LC_ALL=C.UTF-8
7
8RUN apt-get update \
9    && apt-get -y install --no-install-recommends  \
10        build-essential \
11        ca-certificates \
12        clang \
13        curl \
14        gettext \
15        git \
16        libpcre2-dev \
17        locales \
18        openssl \
19        python3 \
20        python3-pexpect \
21        sudo \
22        tmux \
23    && locale-gen en_US.UTF-8 \
24    && apt-get clean
25
26RUN userdel ubuntu \
27    && groupadd -g 1000 fishuser \
28    && useradd -p $(openssl passwd -1 fish) -d /home/fishuser -m -u 1000 -g 1000 fishuser \
29        -G sudo \
30    && mkdir -p /home/fishuser/fish-build \
31    && mkdir /fish-source \
32    && chown -R fishuser:1000 /home/fishuser /fish-source
33
34USER fishuser
35WORKDIR /home/fishuser
36
37RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh \
38    && sh /tmp/rustup.sh -y --no-modify-path
39ENV PATH=/home/fishuser/.cargo/bin:$PATH
40
41COPY fish_run_tests.sh /
42
43ENV FISH_CHECK_LINT=false
44
45CMD /fish_run_tests.sh