dockerfiles/clean-registry/Dockerfile
Jess Frazelle 4273797fea
update clean-registry
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-14 12:11:38 -04:00

23 lines
509 B
Docker

FROM r.j3ss.co/reg as reg
FROM jess/gcloud
RUN apk add --no-cache \
ca-certificates \
bash \
parallel
# Install google cloud sdk
# Download clean-registry script
RUN set -x \
&& apk add --no-cache --virtual .build-deps \
curl \
&& curl -sSL -o /usr/bin/clean-registry https://raw.githubusercontent.com/jessfraz/dotfiles/master/bin/clean-registry \
&& chmod +x /usr/bin/clean-registry \
&& apk del .build-deps
WORKDIR /root
COPY --from=reg /usr/bin/reg /usr/bin/reg
ENTRYPOINT ["clean-registry"]