Skip to content

Commit fd92629

Browse files
author
SUSE Update Bot
committed
🤖: Update build recipes from templates
1 parent 1068860 commit fd92629

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎bind-image/Dockerfile‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ RUN set -euo pipefail; \
3131
export CHKSTAT_ALLOW_INSECURE_MODE_IF_NO_PROC=1; \
3232
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends bind bind-utils
3333

34+
RUN set -euo pipefail; zypper -n install --no-recommends systemd && \
35+
systemd-tmpfiles --create --root /target bind.conf
36+
3437
# patch named.prep to not call logger (provided by systemd)
3538
# and just log to stdout
36-
RUN set -euo pipefail; zypper -n install --no-recommends systemd && \
37-
systemd-tmpfiles --create --root /target
3839
RUN set -euo pipefail; \
3940
mkdir -p /target/usr/local/lib/bind; \
4041
cp /target//usr/lib/bind/named.prep /target/usr/local/lib/bind/named.prep; \
@@ -92,8 +93,5 @@ RUN set -euo pipefail; \
9293
install -d -m 755 -o named -g named /var/lib/named/master; \
9394
install -d -m 755 -o named -g named /var/lib/named/slave; \
9495
install -d -m 750 -o named -g named /var/log/named;
95-
# create files that tmpfiles.d would create for us
96-
RUN set -euo pipefail; touch /var/lib/named/127.0.0.zone /var/lib/named/localhost.zone /var/lib/named/named.root.key /var/lib/named/root.hint
97-
9896
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
9997
HEALTHCHECK --interval=10s --timeout=5s --retries=10 CMD dig +retry=0 +short @127.0.0.1 conncheck.opensuse.org >/dev/null && echo OK

‎kea-image/Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ RUN set -euo pipefail; \
3232
RUN set -euo pipefail; zypper -n install --no-recommends systemd && \
3333
systemd-tmpfiles --create --root /target
3434

35+
3536
# cleanup logs and temporary files
3637
RUN set -euo pipefail; zypper -n --installroot /target clean -a; \
3738
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}; \

‎rmt-mariadb-image/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN set -euo pipefail; \
3131
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends coreutils findutils gawk mariadb mariadb-tools openssl sed timezone util-linux zstd
3232

3333
RUN set -euo pipefail; zypper -n install --no-recommends systemd && \
34-
systemd-tmpfiles --create --root /target
34+
systemd-tmpfiles --create --root /target mariadb.conf
3535
# sanity check that the version from the tag is equal to the version of mariadb that we expect
3636
RUN set -euo pipefail; \
3737
[ "$(rpm --root /target -q --qf '%{version}' mariadb | \

‎valkey-image/Dockerfile‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ COPY --from=target / /target
3030
RUN set -euo pipefail; \
3131
export CHKSTAT_ALLOW_INSECURE_MODE_IF_NO_PROC=1; \
3232
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends valkey sed
33+
34+
RUN set -euo pipefail; zypper -n install --no-recommends systemd && \
35+
systemd-tmpfiles --create --root /target valkey.conf
3336
# sanity check that the version from the tag is equal to the version of valkey that we expect
3437
RUN set -euo pipefail; \
3538
[ "$(rpm --root /target -q --qf '%{version}' valkey | \

0 commit comments

Comments
 (0)