16 lines
395 B
Docker
16 lines
395 B
Docker
FROM almalinux:9 as installer
|
|
|
|
RUN dnf install \
|
|
--installroot /fakeroot \
|
|
--releasever 9 \
|
|
--setopt install_weak_deps=false \
|
|
--nodocs -y \
|
|
bash git nodejs npm python3 python3-pip \
|
|
&& dnf clean all --installroot /fakeroot
|
|
|
|
|
|
FROM scratch
|
|
COPY --from=installer /fakeroot /
|
|
RUN npm install -g prettier \
|
|
&& npm cache clean --force
|
|
RUN pip3 install --no-cache-dir ruff
|