ruff和git都用这一个镜像

This commit is contained in:
zhbaor 2024-09-25 20:16:33 +08:00
parent 1e92545c48
commit 2d02f68fc6

View file

@ -5,7 +5,7 @@ RUN dnf install \
--releasever 9 \
--setopt install_weak_deps=false \
--nodocs -y \
nodejs npm \
bash git nodejs npm python3 python3-pip \
&& dnf clean all --installroot /fakeroot
@ -13,3 +13,4 @@ FROM scratch
COPY --from=installer /fakeroot /
RUN npm install -g prettier \
&& npm cache clean --force
RUN pip3 install --no-cache-dir ruff