Commit c5b3746f authored by 智勇's avatar 智勇

go

parent 2dfbd3be
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
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
set mouse=v
\ No newline at end of file
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment