]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-102973: Slim down Fedora packages in the dev container (#103283)
authorMiro Hrončok <miro@hroncok.cz>
Mon, 24 Apr 2023 16:12:15 +0000 (18:12 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2023 16:12:15 +0000 (10:12 -0600)
.devcontainer/Dockerfile

index ce8967337b02f94bb25a54ba909e53b9b2f4db80..efbdcd402cdf678d42274a25ab2cf906c256c7a2 100644 (file)
@@ -9,8 +9,8 @@ ENV WASMTIME_HOME=/opt/wasmtime
 ENV WASMTIME_VERSION=7.0.0
 ENV WASMTIME_CPU_ARCH=x86_64
 
-RUN dnf -y --nodocs install git clang xz python3-blurb dnf-plugins-core && \
-    dnf -y --nodocs builddep python3 && \
+RUN dnf -y --nodocs --setopt=install_weak_deps=False install /usr/bin/{blurb,clang,curl,git,ln,tar,xz} 'dnf-command(builddep)' && \
+    dnf -y --nodocs --setopt=install_weak_deps=False builddep python3 && \
     dnf -y clean all
 
 RUN mkdir ${WASI_SDK_PATH} && \