mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Resurrect some Dockerfiles
Add missing black and rustfmt
This commit is contained in:
@@ -3,6 +3,7 @@ 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 \
|
||||
bash \
|
||||
@@ -14,11 +15,15 @@ RUN apk add --no-cache \
|
||||
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 \
|
||||
|
||||
@@ -19,9 +19,12 @@ RUN apt-get update \
|
||||
rustc \
|
||||
sudo \
|
||||
tmux \
|
||||
python3-pip \
|
||||
&& locale-gen en_US.UTF-8 \
|
||||
&& apt-get clean
|
||||
|
||||
RUN pip install black
|
||||
|
||||
RUN groupadd -g 1000 fishuser \
|
||||
&& useradd -p $(openssl passwd -1 fish) -d /home/fishuser -m -u 1000 -g 1000 fishuser \
|
||||
&& adduser fishuser sudo \
|
||||
|
||||
Reference in New Issue
Block a user