summaryrefslogtreecommitdiffstats
path: root/distributions/msb-apigateway/src/main/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'distributions/msb-apigateway/src/main/docker/Dockerfile')
-rw-r--r--distributions/msb-apigateway/src/main/docker/Dockerfile13
1 files changed, 8 insertions, 5 deletions
diff --git a/distributions/msb-apigateway/src/main/docker/Dockerfile b/distributions/msb-apigateway/src/main/docker/Dockerfile
index 8762900..18891c2 100644
--- a/distributions/msb-apigateway/src/main/docker/Dockerfile
+++ b/distributions/msb-apigateway/src/main/docker/Dockerfile
@@ -1,6 +1,9 @@
-FROM alpine:3.5
-ADD msb-apigateway*.tar.gz /opt/application
+# Dockerfile - msb-apigateway
+FROM msb_base:latest
+COPY msb-apigateway*.tar.gz /usr/src
-ENV LD_LIBRARY_PATH /lib64
-WORKDIR /opt/application/msb-apigateway
-ENTRYPOINT exec $PWD/startup4docker.sh \ No newline at end of file
+RUN tar -xzf /usr/src/msb-apigateway*.tar.gz -C /usr/local --strip-components=1; \
+ rm /usr/src/msb-apigateway*.tar.gz
+
+WORKDIR /usr/local
+ENTRYPOINT exec $PWD/startup4docker.sh