mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-28 16:01:15 -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
32 lines
729 B
Docker
32 lines
729 B
Docker
FROM fedora:latest
|
|
LABEL org.opencontainers.image.source=https://github.com/fish-shell/fish-shell
|
|
|
|
RUN dnf install --assumeyes \
|
|
diffutils \
|
|
gcc-c++ \
|
|
git-core \
|
|
pcre2-devel \
|
|
python3 \
|
|
python3-pip \
|
|
openssl \
|
|
procps \
|
|
sudo && \
|
|
dnf clean all
|
|
|
|
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 /
|
|
|
|
ENV FISH_CHECK_LINT=false
|
|
|
|
CMD /fish_run_tests.sh
|