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:23:05 UTC
[trafficcontrol] branch master updated: Lowercase the PowerTools
repo id (#5362)
This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 28d9a69 Lowercase the PowerTools repo id (#5362)
28d9a69 is described below
commit 28d9a693f2ee6423070370ccfc1f93551a584a7e
Author: Zach Hoffman <zr...@apache.org>
AuthorDate: Tue Dec 8 10:22:49 2020 -0700
Lowercase the PowerTools repo id (#5362)
---
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 \