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
4b7b92f5
Commit
4b7b92f5
authored
Jan 22, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nodejs
parent
31d35aca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
0 deletions
+26
-0
Code.Dockerfile
tke/nodejs/Code.Dockerfile
+3
-0
Dockerfile
tke/nodejs/Dockerfile
+19
-0
docker-entrypoint.sh
tke/nodejs/docker-entrypoint.sh
+4
-0
No files found.
tke/nodejs/Code.Dockerfile
0 → 100644
View file @
4b7b92f5
FROM
scratch
COPY
./*tgz /code/
\ No newline at end of file
tke/nodejs/Dockerfile
0 → 100644
View file @
4b7b92f5
ARG
FROM_IMAGE
FROM
${FROM_IMAGE}
FROM
node:8.15.0-slim
WORKDIR
/home/quant_group
ENV
NODE_ENV=test
ARG
SYSTEM_NAME
ENV
SYSTEM_NAME=$SYSTEM_NAME
ARG
BUILD_SCHEMA
ENV
BUILD_SCHEMA=$BUILD_SCHEMA
RUN
echo
-e
"
${
BUILD_SCHEMA
//@/\n
}
"
>>
./build_info
COPY
docker-entrypoint.sh .
COPY
--from=0 /code/* /home/quant_group/project/dist.tgz
CMD
["sh", "docker-entrypoint.sh"]
\ No newline at end of file
tke/nodejs/docker-entrypoint.sh
0 → 100644
View file @
4b7b92f5
#!/bin/bash
echo
172.30.10.23 git.quantgroup.cn
>>
/etc/hosts
curl
-sSL
http://git.quantgroup.cn/QA/qg-docker-entrypoints/raw/java/tke/nodejs.sh
-o
run.sh
sh run.sh
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