Skip to content

Commit

Permalink
Skip installing pip from weak deps
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Sep 11, 2021
1 parent c537e64 commit 9fabfd5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/fedora/34/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM registry.fedoraproject.org/fedora:34
# Install the base toolchain we need to build anything (clang, cmake, make and the like)
# this does not include libraries that we need to compile different projects, we'd like
# them in a different layer.
RUN dnf install -y \
RUN dnf --setopt=install_weak_deps=False install -y \
clang \
cmake \
dnf-plugins-core \
Expand All @@ -12,6 +12,7 @@ RUN dnf install -y \
glibc-langpack-en \
lldb-devel \
llvm-devel \
libomp-devel \
make \
python \
which \
Expand All @@ -24,7 +25,7 @@ RUN dnf config-manager --add-repo https://packages.microsoft.com/fedora/34/prod/
rm /tmp/microsoft.asc

# Install tools used by build automation.
RUN dnf install -y \
RUN dnf --setopt=install_weak_deps=False install -y \
git \
tar \
procps \
Expand Down

0 comments on commit 9fabfd5

Please sign in to comment.