summaryrefslogtreecommitdiffstats
path: root/build/os/centos/rhel7/juno
diff options
context:
space:
mode:
authorbaigk <baiguoku@huawei.com>2015-09-15 16:01:00 +0800
committerbaigk <baiguoku@huawei.com>2015-09-17 10:59:21 +0800
commit4265a1ec3817d137332f6a771bbbef0eaee5879c (patch)
treed298d91d26da5c8e4d46faa9bce151681e9d62a5 /build/os/centos/rhel7/juno
parent80bf7f3ca6be838b3ebd09f45e96d71e5a361d8b (diff)
Add parameter allows users to add their own package or scripts of making package to ISO file
JIRA: COMPASS-55 Change-Id: I2ef6539ebf73fe57fb2a5dcb01ff5d8c4727dc1f Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'build/os/centos/rhel7/juno')
-rw-r--r--build/os/centos/rhel7/juno/Dockerfile.tmpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/build/os/centos/rhel7/juno/Dockerfile.tmpl b/build/os/centos/rhel7/juno/Dockerfile.tmpl
index df5f41b4..d0d45ae4 100644
--- a/build/os/centos/rhel7/juno/Dockerfile.tmpl
+++ b/build/os/centos/rhel7/juno/Dockerfile.tmpl
@@ -8,12 +8,11 @@ MAINTAINER Chigang(Justin) <chigang@huawei.com>
RUN sed -i 's/keepcache=0/keepcache=1/g' /etc/yum.conf
#set packages = $getVar('spcial_packages', [])
#for package in $packages
-ADD $packages /var/cache/yum/x86_64/7/base/packages/
+ADD ./RedHat/packages/$package /var/cache/yum/x86_64/7/base/packages/
#end for
#set scripts = $getVar('scripts', [])
-#set dir = $getVar('dir', ".")
#for script in $scripts
-ADD $dir/$script /tmp/chigang/$script
+ADD ./RedHat/script/$script /tmp/chigang/$script
RUN chmod +x /tmp/chigang/$script
RUN /tmp/chigang/$script
#end for