File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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; \
@@ -64,6 +67,5 @@ LABEL io.artifacthub.package.readme-url="%SOURCEURL_WITH(README.md)%"
6467ENTRYPOINT ["/usr/bin/registry" ]
6568CMD ["serve" , "/etc/registry/config.yml" ]
6669EXPOSE 5000/tcp
67- RUN set -euo pipefail; install -d -m 0755 -o registry -g registry /var/lib/docker-registry
6870USER registry
6971VOLUME /var/lib/docker-registry
Original file line number Diff line number Diff line change 1+ -------------------------------------------------------------------
2+ Mon Mar 2 10:29:06 UTC 2026 - SUSE Update Bot <bci-internal@suse.de>
3+
4+ - switch to systemd-tmpfiles for directory creation
5+
16-------------------------------------------------------------------
27Wed Jan 21 21:40:01 UTC 2026 - SUSE Update Bot <bci-internal@suse.de>
38
You can’t perform that action at this time.
0 commit comments