diff options
-rw-r--r-- | base_sdc-vnc/Dockerfile | 17 | ||||
-rw-r--r-- | pom.xml | 17 |
2 files changed, 32 insertions, 2 deletions
diff --git a/base_sdc-vnc/Dockerfile b/base_sdc-vnc/Dockerfile new file mode 100644 index 0000000..4ee593d --- /dev/null +++ b/base_sdc-vnc/Dockerfile @@ -0,0 +1,17 @@ +FROM consol/ubuntu-xfce-vnc + +ARG HTTP_PROXY +ARG HTTPS_PROXY + +ENV HTTP_PROXY ${HTTP_PROXY} +ENV HTTPS_PROXY ${HTTPS_PROXY} + +USER 0 + +RUN if [ ! -z ${HTTP_PROXY} ]; then echo "Acquire::http::proxy \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf; fi && \ + if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https::proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf; fi + +RUN apt-get -y update && apt-get -y install curl + +# install chef-solo +RUN curl -L https://www.opscode.com/chef/install.sh | bash @@ -129,6 +129,19 @@ <dockerFileDir>${project.basedir}/base_sdc-sanity</dockerFileDir> </build> </image> + <!-- base_sdc-vnc --> + <image> + <name>onap/base_sdc-vnc</name> + <alias>base_sdc-vnc</alias> + <build> + <cleanup>true</cleanup> + <tags> + <tag>${docker.tag}</tag> + <tag>${docker.latest.tag}</tag> + </tags> + <dockerFileDir>${project.basedir}/base_sdc-vnc</dockerFileDir> + </build> + </image> </images> </configuration> <executions> @@ -140,7 +153,7 @@ </goals> <configuration> <removeAll>true</removeAll> - <image>onap/base_sdc-jetty,onap/base_sdc-elasticsearch,onap/base_sdc-kibana,onap/base_sdc-cassandra,onap/base_sdc-sanity,onap/base_sdc-cqlsh,onap/base_sdc-python</image> + <image>onap/base_sdc-jetty,onap/base_sdc-elasticsearch,onap/base_sdc-kibana,onap/base_sdc-cassandra,onap/base_sdc-sanity,onap/base_sdc-cqlsh,onap/base_sdc-python,onap/base_sdc-vnc</image> </configuration> </execution> @@ -159,7 +172,7 @@ <goal>push</goal> </goals> <configuration> - <image>onap/base_sdc-jetty,onap/base_sdc-elasticsearch,onap/base_sdc-kibana,onap/base_sdc-cassandra,onap/base_sdc-sanity,onap/base_sdc-cqlsh,onap/base_sdc-python</image> + <image>onap/base_sdc-jetty,onap/base_sdc-elasticsearch,onap/base_sdc-kibana,onap/base_sdc-cassandra,onap/base_sdc-sanity,onap/base_sdc-cqlsh,onap/base_sdc-python,onap/base_sdc-vnc</image> </configuration> </execution> </executions> |