forked from alt/image-forge
feat: add zot Dockerfile.template and test
This commit is contained in:
parent
f55f03f91d
commit
d3a5f23958
19
org/alt/zot/Dockerfile.template
Normal file
19
org/alt/zot/Dockerfile.template
Normal 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
1
org/alt/zot/test
Normal file
@ -0,0 +1 @@
|
||||
zot verify /etc/zot/config.json
|
Loading…
x
Reference in New Issue
Block a user