13 lines
293 B
Docker
13 lines
293 B
Docker
# hadolint ignore=DL3007
|
|
FROM alpine:latest as certs
|
|
# hadolint ignore=DL3018
|
|
RUN apk --no-cache add ca-certificates
|
|
|
|
FROM scratch
|
|
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
|
|
|
ARG ARCH=amd64
|
|
COPY ./tag-checker-linux-${ARCH} /tag-checker
|
|
|
|
ENTRYPOINT [ "/tag-checker" ]
|