Skip to content

Commit

Permalink
Tune zypper for 'megapak'
Browse files Browse the repository at this point in the history
Ditch 'zypper --non-interactive install'
  • Loading branch information
YanWenKun committed Apr 11, 2024
1 parent 8819e43 commit 5f8e4d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions megapak/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ ENV PATH="${PATH}:/usr/local/cuda-12.1/bin" \
RUN --mount=type=cache,target=/var/cache/zypp \
zypper addrepo --check --refresh --priority 90 \
'https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials/' packman-essentials \
&& zypper --non-interactive install \
&& zypper --gpg-auto-import-keys \
install --no-confirm --auto-agree-with-licenses \
python311-devel \
python311-pip \
python311-wheel \
Expand Down Expand Up @@ -109,7 +110,8 @@ google-noto-coloremoji-fonts \

# Fix for GCC12 (required for compiling CUDA 12.1-related code)
RUN --mount=type=cache,target=/var/cache/zypp \
zypper --non-interactive install \
zypper --gpg-auto-import-keys \
install --no-confirm --auto-agree-with-licenses \
gcc12 \
gcc12-c++ \
cpp12 \
Expand Down

0 comments on commit 5f8e4d6

Please sign in to comment.