File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ RUN set -euo pipefail; \
3131RUN set -euo pipefail; \
3232 [ "$(rpm --root /target -q --qf '%{version}' distribution-registry | \
3333 cut -d '.' -f -2)" = "3.0" ]
34+ RUN set -euo pipefail; zypper -n install --no-recommends systemd && \
35+ systemd-tmpfiles --create --root /target distribution-registry.conf
36+
3437
3538# cleanup logs and temporary files
3639RUN set -euo pipefail; zypper -n --installroot /target clean -a; \
@@ -67,6 +70,5 @@ LABEL io.artifacthub.package.readme-url="%SOURCEURL_WITH(README.md)%"
6770ENTRYPOINT ["/usr/bin/registry" ]
6871CMD ["serve" , "/etc/registry/config.yml" ]
6972EXPOSE 5000/tcp
70- RUN set -euo pipefail; install -d -m 0755 -o registry -g registry /var/lib/docker-registry
7173USER registry
7274VOLUME /var/lib/docker-registry
You can’t perform that action at this time.
0 commit comments