new base docker 21/35421/1
authorYuli Shlosberg <ys9693@att.com>
Tue, 13 Mar 2018 09:24:51 +0000 (11:24 +0200)
committerYuli Shlosberg <ys9693@att.com>
Tue, 13 Mar 2018 09:32:39 +0000 (11:32 +0200)
Change-Id: I5ae8f1f5a6c6d3d7e35063f4120b14a7227f05e0
Issue-ID: SDC-384
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
base_sdc-vnc/Dockerfile [new file with mode: 0644]
pom.xml

diff --git a/base_sdc-vnc/Dockerfile b/base_sdc-vnc/Dockerfile
new file mode 100644 (file)
index 0000000..4ee593d
--- /dev/null
@@ -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
diff --git a/pom.xml b/pom.xml
index 1b51fcc..9428f38 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                             </tags>
                             <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>
                     </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>
 
                         <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>