Commit f6b5d17c authored by Román Sosa's avatar Román Sosa

Merge branch 'feature/dockerfile-x64' into branch/0.1

parents 53febef2 a410eadc
FROM maven:3.3.3-jdk-8
# Install wget and curl
RUN apt-get clean && apt-get update && apt-get install -y \
wget \
curl \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
ENV src_jar service/target/unified-paas-service.jar
ENV src_config service/conf/config.yml
ENV dest /opt/unified-paas
RUN mkdir -p ${dest}
COPY ${src_jar} ${dest}/unified-paas-service.jar
COPY ${src_config} ${dest}/config.yml
ENTRYPOINT [ \
"java", "-jar", \
"/opt/unified-paas/unified-paas-service.jar", \
"server", "/opt/unified-paas/config.yml"]
......@@ -39,6 +39,7 @@
<goal>shade</goal>
</goals>
<configuration>
<finalName>${project.artifactId}</finalName>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment