Fix Dockerfile: replace BuildKit heredoc with printf for legacy builder compatibility.

Authorfritjof@alokat.org
Date2026-04-14 10:50:57
Hash50a5184f31da5167f9b5d059da7473b771bc7ca2

Summary

M ./Dockerfile -8 +7

Diff

patch 50a5184f31da5167f9b5d059da7473b771bc7ca2
Author: fritjof@alokat.org
Date:   Tue Apr 14 10:50:57 UTC 2026
  * Fix Dockerfile: replace BuildKit heredoc with printf for legacy builder compatibility.
hunk ./Dockerfile 1
-# syntax=docker/dockerfile:1
hunk ./Dockerfile 54
-COPY <<'EOF' /etc/darcsweb.conf
-bind = 0.0.0.0
-port = 3000
-repos = /srv/darcs
-title = DarcsWeb
-static = /usr/share/darcsweb/static
-EOF
+RUN printf '%s\n' \
+      'bind = 0.0.0.0' \
+      'port = 3000' \
+      'repos = /srv/darcs' \
+      'title = DarcsWeb' \
+      'static = /usr/share/darcsweb/static' \
+      > /etc/darcsweb.conf