skip to Main Content

The image docker built through jenkins didn't have name and tag

Here is my Dockerfile: FROM golang:1.17.5 as builder WORKDIR /go/src/github.com/cnosdb/cnosdb COPY . /go/src/github.com/cnosdb/cnosdb RUN go env -w GOPROXY=https://goproxy.cn,direct RUN go env -w GO111MODULE=on RUN go install ./... FROM debian:stretch COPY --from=builder /go/bin/cnosdb /go/bin/cnosdb-cli /usr/bin/ COPY --from=builder /go/src/github.com/cnosdb/cnosdb/etc/cnosdb.sample.toml /etc/cnosdb/cnosdb.conf EXPOSE 8086…

VIEW QUESTION
Back To Top
Search