tr to another bind
This commit is contained in:
parent
8607c41ee0
commit
a6e166e41e
@ -3,7 +3,10 @@ WORKDIR /app
|
||||
ENV GOPRIVATE=gitea.pena/PenaSide/common,gitea.pena/PenaSide/linters-golang,gitea.pena/PenaSide/customer,gitea.pena/PenaSide/trashlog,gitea.pena/PenaSide/hlog
|
||||
ENV GOINSECURE=gitea.pena/PenaSide/common,gitea.pena/PenaSide/linters-golang,gitea.pena/PenaSide/customer,gitea.pena/PenaSide/trashlog,gitea.pena/PenaSide/hlog
|
||||
COPY . .
|
||||
RUN go mod download
|
||||
RUN mkdir -p /go/pkg/mod
|
||||
RUN ls
|
||||
RUN ls /
|
||||
RUN --mount=type=bind,rw=true,src=go-cache,target=/go/pkg/mod go mod download -x
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o app ./cmd/verification/main.go
|
||||
RUN printenv
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user