You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2020/12/08 17:57:43 UTC
[trafficcontrol] 02/03: Lowercase the PowerTools repo id (#5362)
This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch 5.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
commit f12242399fcc92eb3c218b2f6f1345f2170c1b97
Author: Zach Hoffman <zr...@apache.org>
AuthorDate: Tue Dec 8 10:22:49 2020 -0700
Lowercase the PowerTools repo id (#5362)
(cherry picked from commit 28d9a693f2ee6423070370ccfc1f93551a584a7e)
---
infrastructure/cdn-in-a-box/traffic_ops/Dockerfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile b/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile
index 5b3e42d..1397f78 100644
--- a/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile
+++ b/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile
@@ -63,7 +63,8 @@ EXPOSE 443
ENV MOJO_MODE production
RUN if [[ "${RHEL_VERSION%%.*}" -ge 8 ]]; then \
- enable_repo='--enablerepo=PowerTools' || exit 1; \
+ # If you get "Unknown repo: 'powertools'", pull a newer centos:8 image
+ enable_repo='--enablerepo=powertools' || exit 1; \
fi && \
dnf -y --allowerasing $enable_repo install \
cpanminus \