RUN apk --update add --no-cache ca-certificates openssl git && update-ca-certificates RUN apk --update add --no-cache gitFROM golang:1.16.7-alpine AS builder
git is needed to download those packages
use this if u called to any https service
without ssl
WORKDIR /app
copy go.mod ./
copy go.sum ./
RUN go mod download