summaryrefslogtreecommitdiffstats
path: root/sms-service/bin/Dockerfile
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-03-20 15:12:13 -0700
committerGirish Havaldar <hg0071052@techmahindra.com>2018-03-21 14:31:28 +0000
commit6e8ef8ac3a9f9504ff4a5ea9991197010930d834 (patch)
treea8543d8d1502cc5cbc8ba938f56c0922795a0688 /sms-service/bin/Dockerfile
parentd5fd81a4b5940da7a3a787271abd069b7d12ea86 (diff)
Adding bash script to call docker build
Adding the necessary bash scripts to be called for docker build These will be called by the jenkins job for the nightly docker build Issue-ID: AAF-100 Change-Id: Iae0c095d44849ae65583247fc7026f313d1ee0b7 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'sms-service/bin/Dockerfile')
-rw-r--r--sms-service/bin/Dockerfile35
1 files changed, 8 insertions, 27 deletions
diff --git a/sms-service/bin/Dockerfile b/sms-service/bin/Dockerfile
index 9e9863b..d663f80 100644
--- a/sms-service/bin/Dockerfile
+++ b/sms-service/bin/Dockerfile
@@ -1,33 +1,14 @@
FROM alpine:3.7
-MAINTAINER onap-aaf-sms
+MAINTAINER aaf-sms
-ENV VAULT_VERSION 0.9.4
-ENV CONSUL_VERSION 1.0.1
-
-LABEL name="sms-vault-consul"
-LABEL version=0.0.1
+LABEL name="aaf-sms"
+LABEL version=1.0.0
LABEL maintainer="vamshi krishna <vn00480215@techmahindra.com>"
+EXPOSE 10443
- ADD https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip /tmp/vault.zip
- RUN unzip -d /bin /tmp/vault.zip && \
- chmod 755 /bin/vault && \
- rm /tmp/vault.zip
-
- ADD https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip /tmp/consul.zip
- RUN unzip -d /bin /tmp/consul.zip && \
- chmod 755 /bin/consul && \
- rm /tmp/consul.zip
-
-
-EXPOSE 8200
-VOLUME "/config"
-ADD ./config /config/
-
-ENTRYPOINT ["/bin/consul"]
-CMD ["agent", "-config-file", "config/consul.json"]
-
-
-ENTRYPOINT ["/bin/vault"]
-CMD ["server", "-config", "config/vault.hcl"]
+ADD auth /sms/auth/
+ADD sms /sms/bin/sms
+RUN chmod +x /sms/bin/sms
+ENTRYPOINT ["/sms/bin/sms"] \ No newline at end of file