Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
8559bc23
Commit
8559bc23
authored
Jan 21, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
5a6373e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
Dockerfile
tke/java/Dockerfile
+5
-11
No files found.
tke/java/Dockerfile
View file @
8559bc23
...
@@ -4,25 +4,19 @@ FROM ${FROM_IMAGE}
...
@@ -4,25 +4,19 @@ FROM ${FROM_IMAGE}
FROM
primetoninc/jdk:1.8
FROM
primetoninc/jdk:1.8
LABEL
maintainer=""
LABEL
maintainer=""
USER
root
WORKDIR
/home/quant_group
WORKDIR
/home/quant_group
# 解决时区问题
# 解决时区问题
#
ENV TZ=Asia/Shanghai
ENV
TZ=Asia/Shanghai
#
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN
ln
-snf
/usr/share/zoneinfo/
$TZ
/etc/localtime
&&
echo
$TZ
>
/etc/timezone
# RUN mkdir project/;mkdir project/lib;mkdir project/config;mkdir logs/
ARG
BUILD_SCHEMA
ENV
BUILD_SCHEMA=$BUILD_SCHEMA
ARG
SYSTEM_NAME
ARG
SYSTEM_NAME
ENV
SYSTEM_NAME=$SYSTEM_NAME
ENV
SYSTEM_NAME=$SYSTEM_NAME
ARG
BUILD_SCHEMA
ENV
BUILD_SCHEMA=$BUILD_SCHEMA
RUN
echo
-e
"
${
BUILD_SCHEMA
//@/\n
}
"
>>
./build_info
RUN
echo
-e
"
${
BUILD_SCHEMA
//@/\n
}
"
>>
./build_info
COPY
docker-entrypoint.sh .
# RUN chmod +x ./docker-entrypoint.sh
COPY
--from=0 /code/* /home/quant_group/project/
COPY
--from=0 /code/* /home/quant_group/project/
COPY
docker-entrypoint.sh .
CMD
["sh", "docker-entrypoint.sh"]
CMD
["sh", "docker-entrypoint.sh"]
\ No newline at end of file
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