Skip to content

Commit

Permalink
fixup! Disable code ready builder repo after building stow
Browse files Browse the repository at this point in the history
  • Loading branch information
AObuchow committed Nov 20, 2023
1 parent a0b5faa commit 44dc332
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions devspaces-udi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,7 @@ RUN \
microdnf install -y dnf && \
# Disable code ready builder repo's to prevent accidentally installing incorrect packages
dnf -y -q install 'dnf-command(config-manager)' && \
if [[ "$(uname -m)" == 'x86_64' ]]; then \
dnf config-manager --set-disabled codeready-builder-for-rhel-8-x86_64-rpms ; \
elif [[ "$(uname -m)" == 's390x' ]]; then \
dnf config-manager --set-disabled codeready-builder-for-rhel-8-s390x-rpms ; \
elif [[ "$(uname -m)" == 'ppc64le' ]]; then \
dnf config-manager --set-disabled codeready-builder-for-rhel-8-ppc64le-rpms ; \
dnf config-manager --set-disabled codeready-* && \
fi && \
dnf -y -q module reset container-tools maven nodejs php; \
dnf -y -q module install container-tools:rhel8 maven:3.6 nodejs:$NODEJS_VERSION php:$PHP_VERSION && \
Expand Down

0 comments on commit 44dc332

Please sign in to comment.