summaryrefslogtreecommitdiffstats
path: root/ubuntu/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-08-09 13:37:32 -0400
committerDan Timoney <dtimoney@att.com>2017-08-09 13:37:43 -0400
commit73be2117cb63d51b394835a39c9e2df3379d4f0e (patch)
tree8d5466956c01954088e8d387c5bd7f43385c5544 /ubuntu/src/main/docker/Dockerfile
parentfd4218dd652098e368182728d684b4ae846a9ba7 (diff)
Create base Ubuntu container
Create base docker container for Ubuntu 16.04 LTS with packages needed for CCSDK SLI Issue-ID: CCSDK-27 Change-Id: I17a88fc2539f58ee6ced12ea64fbce45bc16a5ff Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ubuntu/src/main/docker/Dockerfile')
-rw-r--r--ubuntu/src/main/docker/Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/ubuntu/src/main/docker/Dockerfile b/ubuntu/src/main/docker/Dockerfile
new file mode 100644
index 00000000..0066e761
--- /dev/null
+++ b/ubuntu/src/main/docker/Dockerfile
@@ -0,0 +1,15 @@
+# Base ubuntu with added packages needed for open ecomp
+FROM ubuntu:16.04
+MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org)
+
+ARG HTTP_PROXY
+ARG HTTPS_PROXY
+
+ENV HTTP_PROXY ${HTTP_PROXY}
+ENV HTTPS_PROXY ${HTTPS_PROXY}
+
+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
+
+# Add tools needed for OpenDaylight
+RUN apt-get update && apt-get install -y git openjdk-8-jdk maven mysql-client nodejs nodejs-legacy python-pip graphviz npm unzip