You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2018/08/07 17:18:31 UTC

[trafficcontrol] 05/10: Trafficserver RPM now overridable for mid cache

This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit f8d869a5729be5b31209e8afbb95f4881f0a59e8
Author: Brennan Fieck <Br...@comcast.com>
AuthorDate: Tue Jul 24 13:30:27 2018 +0000

    Trafficserver RPM now overridable for mid cache
---
 infrastructure/cdn-in-a-box/mid/Dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/infrastructure/cdn-in-a-box/mid/Dockerfile b/infrastructure/cdn-in-a-box/mid/Dockerfile
index 0f2bc97..27c5a02 100644
--- a/infrastructure/cdn-in-a-box/mid/Dockerfile
+++ b/infrastructure/cdn-in-a-box/mid/Dockerfile
@@ -23,9 +23,10 @@
 
 FROM centos:7
 
-ADD https://ci.trafficserver.apache.org/RPMS/CentOS7/trafficserver-7.1.2-4.el7.centos.x86_64.rpm /trafficserver-7.1.2-4.el7.centos.x86_64.rpm
+ARG RPM=https://ci.trafficserver.apache.org/RPMS/CentOS7/trafficserver-7.1.2-4.el7.centos.x86_64.rpm
+ADD $RPM /trafficserver.rpm
 
-RUN yum install -y /trafficserver-7.1.2-4.el7.centos.x86_64.rpm iproute net-tools nmap-ncat && yum clean all
+RUN yum install -y /trafficserver.rpm iproute net-tools nmap-ncat && yum clean all
 
 RUN mkdir -p /var/trafficserver/cache /opt/ort && chown -R ats:ats /etc/trafficserver /var/trafficserver /opt/ort