feat: add zot Dockerfile.template and test

This commit is contained in:
Александр Степченко 2024-04-26 16:20:19 +03:00
parent f55f03f91d
commit d3a5f23958
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
FROM {{ registry }}{{ alt_image }}:{{ branch }}
MAINTAINER alt-cloud
LABEL org.opencontainers.image.title="zot"
LABEL org.opencontainers.image.description="A production-ready vendor-neutral OCI-native container image registry (purely based on OCI Distribution Specification)"
LABEL org.opencontainers.image.source="https://github.com/project-zot/zot"
LABEL org.opencontainers.image.licenses="Apache-2.0"
LABEL org.opencontainers.image.vendor="ALT Linux Team"
{{ install_packages("zot") }}
USER _zot:_zot
VOLUME ["/var/lib/zot"]
EXPOSE 5000
ENTRYPOINT ["/usr/bin/zot"]
CMD ["serve", "/etc/zot/config.json"]

1
org/alt/zot/test Normal file
View File

@ -0,0 +1 @@
zot verify /etc/zot/config.json