-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
23 lines (22 loc) · 1.11 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM golang:1.10-alpine3.7
LABEL [email protected]
RUN apk update && \
apk add git expect curl tzdata && \
go get -u github.com/golang/dep/cmd/dep && \
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone
RUN mkdir -p /go/src/github.com/andy-zhangtao/gogather
COPY unit-test.sh /go/src/github.com/andy-zhangtao/gogather/unit-test.sh
ADD convert /go/src/github.com/andy-zhangtao/gogather/convert
ADD crypto /go/src/github.com/andy-zhangtao/gogather/crypto
ADD random /go/src/github.com/andy-zhangtao/gogather/random
ADD strings /go/src/github.com/andy-zhangtao/gogather/strings
ADD time /go/src/github.com/andy-zhangtao/gogather/time
ADD tools /go/src/github.com/andy-zhangtao/gogather/tools
ADD zReflect /go/src/github.com/andy-zhangtao/gogather/zReflect
ADD zlog /go/src/github.com/andy-zhangtao/gogather/zlog
ADD znet /go/src/github.com/andy-zhangtao/gogather/znet
ADD zoutput /go/src/github.com/andy-zhangtao/gogather/zoutput
ADD zsort /go/src/github.com/andy-zhangtao/gogather/zsort
WORKDIR /go/src/github.com/andy-zhangtao/gogather
ENTRYPOINT ["sh","unit-test.sh"]