Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
7065e258
Commit
7065e258
authored
Aug 25, 2017
by
maxiucheng
Browse files
更新docker
parent
dfc54eb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
xxpay4spring-cloud/xxpay-config/src/main/docker/Dockerfile
0 → 100644
View file @
7065e258
FROM
java:8
VOLUME
/tmp
RUN
mkdir
/app
ADD
xxpay-config.jar /app/app.jar
ADD
runboot.sh /app/
RUN
bash
-c
'touch /app/app.jar'
WORKDIR
/app
RUN
chmod
a+x runboot.sh
EXPOSE
2020
CMD
/app/runboot.sh
\ No newline at end of file
xxpay4spring-cloud/xxpay-config/src/main/docker/runboot.sh
0 → 100644
View file @
7065e258
#!/usr/bin/env bash
sleep
30
java
-Djava
.security.egd
=
file:/dev/./urandom
-jar
/app/app.jar
\ No newline at end of file
Write
Preview
Supports
Markdown
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