pidgin/carrier

change the package to the new host and run go mod tidy
draft default tip
2020-05-04, Gary Kramlich
599c20fd7100
change the package to the new host and run go mod tidy
FROM golang:stretch AS build
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o carrier -a -ldflags '-extldflags "-static" -s' .
FROM scratch
CMD ["/carrier"]
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=build /app/carrier /carrier