\ apk update && \ rm -rf /var/cache/apk/* && \ mkdir -p $APPDIR ADD . $APPDIR/ WORKDIR $APPDIR RUN go build -ldflags “-s -w” -o example FROM alpine RUN apk add —no-cache ca-certificates COPY —-from=builder /go/src/example/example /usr/local/bin/ ENTRYPOINT [“example”]