ruff和git都用这一个镜像
This commit is contained in:
parent
1e92545c48
commit
2d02f68fc6
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,7 @@ RUN dnf install \
|
||||||
--releasever 9 \
|
--releasever 9 \
|
||||||
--setopt install_weak_deps=false \
|
--setopt install_weak_deps=false \
|
||||||
--nodocs -y \
|
--nodocs -y \
|
||||||
nodejs npm \
|
bash git nodejs npm python3 python3-pip \
|
||||||
&& dnf clean all --installroot /fakeroot
|
&& dnf clean all --installroot /fakeroot
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,3 +13,4 @@ FROM scratch
|
||||||
COPY --from=installer /fakeroot /
|
COPY --from=installer /fakeroot /
|
||||||
RUN npm install -g prettier \
|
RUN npm install -g prettier \
|
||||||
&& npm cache clean --force
|
&& npm cache clean --force
|
||||||
|
RUN pip3 install --no-cache-dir ruff
|
||||||
|
|
Loading…
Reference in a new issue