Clean the Docker Registry by removing untagged repositories https://github.com/ricardobranco777/clean_registry
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 304B

123456789101112
  1. FROM registry:2
  2. RUN apk --no-cache add python3 python3-dev
  3. RUN pip3 install --no-cache-dir docker pyyaml
  4. COPY clean_registry.py /usr/local/bin/clean_registry.py
  5. RUN python3 -OO -m compileall /usr/local/bin/clean_registry.py
  6. ENTRYPOINT ["/usr/bin/python3", "/usr/local/bin/clean_registry.py"]
  7. CMD []