diff --git a/org/alt/zot/Dockerfile.template b/org/alt/zot/Dockerfile.template new file mode 100644 index 0000000..a9b2162 --- /dev/null +++ b/org/alt/zot/Dockerfile.template @@ -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"] diff --git a/org/alt/zot/test b/org/alt/zot/test new file mode 100644 index 0000000..e89b2c5 --- /dev/null +++ b/org/alt/zot/test @@ -0,0 +1 @@ +zot verify /etc/zot/config.json