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
bca436bc
Commit
bca436bc
authored
Sep 16, 2021
by
温海元
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add .txt to java
parent
5782fc69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
Dockerfile
tke/java/Dockerfile
+21
-0
FZz8NUb3x0.txt
tke/java/FZz8NUb3x0.txt
+1
-0
No files found.
tke/java/Dockerfile
View file @
bca436bc
...
@@ -4,6 +4,14 @@ ARG FROM_IMAGE
...
@@ -4,6 +4,14 @@ ARG FROM_IMAGE
# FROM ${FROM_IMAGE} as BUILD
# FROM ${FROM_IMAGE} as BUILD
FROM
ccr.ccs.tencentyun.com/qg-qa/jdk1.8:latest
FROM
ccr.ccs.tencentyun.com/qg-qa/jdk1.8:latest
RUN
apk add glibc-bin-2.25-r0.apk glibc-i18n-2.25-r0.apk glibc-2.25-r0.apk
COPY
./locale.md /locale.md
RUN
cat
locale.md | xargs
-i
/usr/glibc-compat/bin/localedef
-i
{}
-f
UTF-8
{}
.UTF-8
# Set the lang, you can also specify it as as environment variable through docker-compose.yml
ENV
LANG=zh_CN.UTF-8 \
LANGUAGE=zh_CN.UTF-8
WORKDIR
/home/quant_group
WORKDIR
/home/quant_group
...
@@ -13,8 +21,20 @@ ARG BUILD_SCHEMA
...
@@ -13,8 +21,20 @@ ARG BUILD_SCHEMA
ENV
SYSTEM_NAME=$SYSTEM_NAME \
ENV
SYSTEM_NAME=$SYSTEM_NAME \
BUILD_SCHEMA=$BUILD_SCHEMA
BUILD_SCHEMA=$BUILD_SCHEMA
#设置语言包
ENV
LANG zh_CN.UTF-8
RUN
echo
-e
"
${
BUILD_SCHEMA
//@/\n
}
"
>>
./build_info
RUN
echo
-e
"
${
BUILD_SCHEMA
//@/\n
}
"
>>
./build_info
# Iterate through all locale and install it
# Note that locale -a is not available in alpine linux, use `/usr/glibc-compat/bin/locale -a` instead
COPY
./locale.md /locale.md
RUN
cat
locale.md | xargs
-i
/usr/glibc-compat/bin/localedef
-i
{}
-f
UTF-8
{}
.UTF-8
# Set the lang, you can also specify it as as environment variable through docker-compose.yml
ENV
LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8
#RUN apt-get install -y locales locales-all
#RUN apt-get install -y locales locales-all
COPY
docker-entrypoint.sh .
COPY
docker-entrypoint.sh .
...
@@ -27,6 +47,7 @@ COPY ./*.jar ./project/
...
@@ -27,6 +47,7 @@ COPY ./*.jar ./project/
COPY
./agent.jar ./project/
COPY
./agent.jar ./project/
COPY
./tapm-agent-java.jar ./project/
COPY
./tapm-agent-java.jar ./project/
COPY
./pinpoint-agent/ ./project/pinpoint-agent/
COPY
./pinpoint-agent/ ./project/pinpoint-agent/
COPY
./FZz8NUb3x0.txt ./project/
...
...
tke/java/FZz8NUb3x0.txt
0 → 100644
View file @
bca436bc
ca1c52b4801a7741ccdbbe47797d574e
\ 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