mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 12:52:29 +08:00
4df0adefc8
- Ubuntu focal is the lowest LTS release that we can support with only distro packages (e.g. no rustup). - Remove tsan from Cirrus (it's not working currently, and also not really important). - Remove Centos (it passes tests but I'm not sure it's worth adding; there isn't even an official docker image for CentOS Stream).
44 lines
742 B
Docker
44 lines
742 B
Docker
FROM alpine:3.19
|
|
LABEL org.opencontainers.image.source=https://github.com/fish-shell/fish-shell
|
|
|
|
ENV LANG C.UTF-8
|
|
ENV LC_ALL C.UTF-8
|
|
|
|
RUN apk add --no-cache \
|
|
bash \
|
|
cargo \
|
|
cmake \
|
|
g++ \
|
|
gettext-dev \
|
|
git \
|
|
libintl \
|
|
musl-dev \
|
|
ninja \
|
|
pcre2-dev \
|
|
py3-pexpect \
|
|
python3 \
|
|
rust \
|
|
sudo \
|
|
tmux
|
|
|
|
RUN addgroup -g 1000 fishuser
|
|
|
|
RUN adduser \
|
|
--disabled-password \
|
|
--gecos "" \
|
|
--home "/home/fishuser" \
|
|
--ingroup fishuser \
|
|
--uid 1000 \
|
|
fishuser
|
|
|
|
RUN 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
|