mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-09 00:31:14 -03:00
Change some files which have lines whose indentation is not a multiple of the 4 spaces specified in the editorconfig file. Some of these changes are fixes or clear improvements (e.g. in Rust macros which rustfmt can't format properly). Other changes don't clearly improve the code style, and in some cases it might actually get worse. The goal is to eventually be able to use our editorconfig for automated style checks, but there are a lot of cases where conforming to the limited editorconfig style spec does not make sense, so I'm not sure how useful such automated checks can be. Closes #12408
51 lines
914 B
Docker
51 lines
914 B
Docker
# Version set by updatecli.d/docker.yml
|
|
FROM alpine:3.23
|
|
LABEL org.opencontainers.image.source=https://github.com/fish-shell/fish-shell
|
|
|
|
ENV LANG=C.UTF-8
|
|
ENV LC_ALL=C.UTF-8
|
|
ENV PIP_ROOT_USER_ACTION=ignore
|
|
|
|
RUN apk add --no-cache \
|
|
cmake ninja \
|
|
bash \
|
|
cargo \
|
|
g++ \
|
|
gettext-dev \
|
|
git \
|
|
libintl \
|
|
musl-dev \
|
|
pcre2-dev \
|
|
py3-pexpect \
|
|
py3-pip \
|
|
python3 \
|
|
rust \
|
|
rustfmt \
|
|
sudo \
|
|
tmux
|
|
|
|
RUN pip install --break-system-packages black
|
|
|
|
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 /
|
|
|
|
ENV FISH_CHECK_LINT=false
|
|
|
|
CMD /fish_run_tests.sh
|