File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
COPY . /answer
6
6
WORKDIR /answer
7
+ RUN node -v
7
8
RUN make install-ui-packages ui && mv ui/build /tmp
8
9
9
10
# stage2 build the main binary within static resource
10
11
FROM golang:1.19-alpine AS golang-builder
11
12
LABEL maintainer=
"[email protected] "
12
13
13
14
ARG GOPROXY
15
+ # ENV GOPROXY ${GOPROXY:-direct}
14
16
ENV GOPROXY=https://goproxy.io,direct
15
17
16
18
ENV GOPATH /go
17
19
ENV GOROOT /usr/local/go
18
20
ENV PACKAGE github.com/answerdev/answer
19
21
ENV BUILD_DIR ${GOPATH}/src/${PACKAGE}
22
+ ENV ANSWER_MODULE ${BUILD_DIR}
20
23
21
24
ARG TAGS="sqlite sqlite_unlock_notify"
22
25
ENV TAGS "bindata timetzdata $TAGS"
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ ENV GOPATH /go
20
20
ENV GOROOT /usr/local/go
21
21
ENV PACKAGE github.com/answerdev/answer
22
22
ENV BUILD_DIR ${GOPATH}/src/${PACKAGE}
23
+ ENV ANSWER_MODULE ${BUILD_DIR}
23
24
24
25
ARG TAGS="sqlite sqlite_unlock_notify"
25
26
ENV TAGS "bindata timetzdata $TAGS"
You can’t perform that action at this time.
0 commit comments