Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
archive
cloudsocket
unified-paas
Commits
f6b5d17c
Commit
f6b5d17c
authored
Feb 24, 2017
by
Román SG
Browse files
Merge branch 'feature/dockerfile-x64' into branch/0.1
parents
53febef2
a410eadc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
Dockerfile.x64
Dockerfile.x64
+20
-0
service/pom.xml
service/pom.xml
+1
-0
No files found.
Dockerfile.x64
0 → 100644
View file @
f6b5d17c
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"]
service/pom.xml
View file @
f6b5d17c
...
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment