grim/tagpull

Rename the repo to tagpull
draft
2020-07-05, Gary Kramlich
4a2ab904ba01
Rename the repo to tagpull
FROM golang:1.14 AS build
RUN set -ex && \
apt-get update && \
apt-get install -y --no-install-recommends ca-certificates
COPY . /tagpull
WORKDIR /tagpull
RUN CGO_ENABLED=0 go build -ldflags '-w -extldflags "-static"'
FROM scratch
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=build /tagpull/tagpull /tagpull
CMD ["/tagpull"]