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
c5b3746f
Commit
c5b3746f
authored
Dec 09, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go
parent
2dfbd3be
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
0 deletions
+29
-0
Dockerfile
tke/go/Dockerfile
+8
-0
docker-entrypoint.sh
tke/go/docker-entrypoint.sh
+3
-0
.vimrc
tke/golang1.12/.vimrc
+1
-0
Dockerfile
tke/golang1.12/Dockerfile
+17
-0
No files found.
tke/go/Dockerfile
0 → 100644
View file @
c5b3746f
FROM
ccr.ccs.tencentyun.com/qg-qa/golang:1.12
WORKDIR
/home/quant_group
COPY
docker-entrypoint.sh .
COPY
./main ./project/
CMD
["sh", "docker-entrypoint.sh"]
\ No newline at end of file
tke/go/docker-entrypoint.sh
0 → 100644
View file @
c5b3746f
echo
172.30.10.27 git.quantgroup.cn
>>
/etc/hosts
curl
-sSL
http://git.quantgroup.cn/QA/qg-docker-entrypoints/raw/master/tke/go.sh
-o
run.sh
sh run.sh
\ No newline at end of file
tke/golang1.12/.vimrc
0 → 100644
View file @
c5b3746f
set
mouse
=
v
\ No newline at end of file
tke/golang1.12/Dockerfile
0 → 100644
View file @
c5b3746f
FROM
golang:1.12-alpine
ENV
TZ Asia/Shanghai
# vi to vim
RUN
apk add vim
&&
\
rm
-rf
/usr/bin/vi
&&
\
ln
-s
/usr/bin/vim /usr/bin/vi
RUN
set
-eux
&&
\
sed
-i
's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g'
/etc/apk/repositories
&&
\
apk add
--no-cache
--update
tzdata curl
&&
\
apk add
--no-cache
--update
bash
&&
\
apk add
--no-cache
--update
busybox-extras
&&
\
ln
-snf
/usr/share/zoneinfo/
$TZ
/etc/localtime
&&
\
echo
$TZ
>
/etc/timezone
COPY
./.vimrc /root
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