You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- FROM golang AS builder
- # RUN apk add --no-cache git gcc
- WORKDIR /app
-
- # comment this if using vendor
- # ENV GOPROXY=https://mod.gokit.info
- # COPY go.mod go.sum ./
- # RUN go mod download
-
- COPY . .
- ENV GOPROXY=https://mod.gokit.info
- RUN ./control build
-
- FROM buildpack-deps:buster-curl
- LABEL maintainer="llitfkitfk@gmail.com"
-
- WORKDIR /app
-
- COPY --from=builder /app/docker/etc /app/etc
- COPY --from=builder /app/bin /usr/local/bin
-
-
- # ENTRYPOINT []
- # CMD []
|