We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98fb880 commit a69a272Copy full SHA for a69a272
Dockerfile
@@ -1,4 +1,14 @@
1
-FROM auxpi:base AS builder
+FROM golang:1.13-stretch AS builder
2
+
3
+ENV TZ Asia/Shanghai
4
5
+ENV GO111MODULE on
6
7
+ENV GOPROXY https://goproxy.cn
8
9
+WORKDIR $GOPATH/src/github.com/auxpi
10
11
+COPY . $GOPATH/src/github.com/auxpi
12
13
RUN make build
14
@@ -33,4 +43,4 @@ EXPOSE 2333
33
43
34
44
ENTRYPOINT ["/entrypoint.sh"]
35
45
36
-CMD ["run"]
46
+CMD ["run"]
Makefile
@@ -69,7 +69,7 @@ build: ## 构建
69
70
.PHONY: docker
71
docker: ## 构建镜像
72
- @docker build -t auxpi:base -f hack/docker/Dockerfile .
+# @docker build -t auxpi:base -f hack/docker/Dockerfile .
73
@docker build -t ysicing/auxpi .
74
75
help: ## this help
0 commit comments