diff options
author | Justin chi <chigang@huawei.com> | 2016-10-13 13:11:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-10-13 13:11:15 +0000 |
commit | f3cea5848506d4b7822b47079c3f73415f295a14 (patch) | |
tree | 1040d318c3ac083bfb8c76bcc36de689856b2c0d /build/os/ubuntu | |
parent | 48bfb3f5a8a697a7c0085352b80f06c484676399 (diff) | |
parent | 2303beaf0b30a452a3787995e56c3f8f79b7c85f (diff) |
Merge "Make the openstack-newton package"
Diffstat (limited to 'build/os/ubuntu')
-rw-r--r-- | build/os/ubuntu/xenial/newton/Dockerfile.tmpl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/build/os/ubuntu/xenial/newton/Dockerfile.tmpl b/build/os/ubuntu/xenial/newton/Dockerfile.tmpl new file mode 100644 index 00000000..4b24c0a3 --- /dev/null +++ b/build/os/ubuntu/xenial/newton/Dockerfile.tmpl @@ -0,0 +1,26 @@ +FROM ubuntu:16.04 +MAINTAINER Chigang(Justin) <chigang@huawei.com> + +#RUN apt-get update + +RUN rm -f /etc/apt/apt.conf.d/docker-clean +#set packages = $getVar('spcial_packages', []) +#for package in $packages +ADD ./Debian/packages/debian-packages/$package /var/cache/apt/archives/ +#end for +#set scripts = $getVar('scripts', []) +#for script in $scripts +ADD ./Debian/script/$script /tmp/chigang/$script +RUN chmod +x /tmp/chigang/$script +RUN /tmp/chigang/$script +#end for +ADD ./install_packages.sh /tmp/chigang/install_packages.sh +RUN chmod +x /tmp/chigang/install_packages.sh +RUN /tmp/chigang/install_packages.sh + +ADD ./cp_repo.sh /tmp/chigang/cp_repo.sh +RUN chmod +x /tmp/chigang/cp_repo.sh +RUN mkdir /result + +CMD ["/tmp/chigang/cp_repo.sh"] +#VOLUME /tmp/chigang |