Skip to content

Commit 6e36fe6

Browse files
authored
Merge pull request #3499 from SUSE/for-deploy-Tumbleweed
🤖: Update build recipes for Tumbleweed
2 parents dd7c50b + cfbe2b1 commit 6e36fe6

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

distribution-image/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ RUN set -euo pipefail; \
3131
RUN 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
3639
RUN set -euo pipefail; zypper -n --installroot /target clean -a; \
@@ -64,6 +67,5 @@ LABEL io.artifacthub.package.readme-url="%SOURCEURL_WITH(README.md)%"
6467
ENTRYPOINT ["/usr/bin/registry"]
6568
CMD ["serve", "/etc/registry/config.yml"]
6669
EXPOSE 5000/tcp
67-
RUN set -euo pipefail; install -d -m 0755 -o registry -g registry /var/lib/docker-registry
6870
USER registry
6971
VOLUME /var/lib/docker-registry

distribution-image/distribution-image.changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
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
-------------------------------------------------------------------
27
Wed Jan 21 21:40:01 UTC 2026 - SUSE Update Bot <bci-internal@suse.de>
38

0 commit comments

Comments
 (0)