GH-102973: Slim down Fedora packages in the dev container (#103283) · python/cpython@4996efb

GitHub

Original file line numberDiff line numberDiff line change@@ -9,8 +9,8 @@ ENV WASMTIME_HOME=/opt/wasmtime

99ENV WASMTIME_VERSION=7.0.0

1010ENV WASMTIME_CPU_ARCH=x86_64

111112-RUN dnf -y --nodocs install git clang xz python3-blurb dnf-plugins-core && \

13- dnf -y --nodocs builddep python3 && \

12+RUN dnf -y --nodocs --setopt=install_weak_deps=False install /usr/bin/{blurb,clang,curl,git,ln,tar,xz} 'dnf-command(builddep)' && \

13+ dnf -y --nodocs --setopt=install_weak_deps=False builddep python3 && \

1414 dnf -y clean all

15151616RUN mkdir ${WASI_SDK_PATH} && \