aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-03 03:00:18 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-03 03:00:18 +0100
commit3fc50898940dbd46222dc4ee7c7576ae414f719b (patch)
tree89d95e158915bbf19530807e781698936ea323b2
parent7ca2703475f0f967c2c676dad036f1db4114d7d8 (diff)
downloadcgit-oci-3fc50898940dbd46222dc4ee7c7576ae414f719b.tar.gz
cgit-oci-3fc50898940dbd46222dc4ee7c7576ae414f719b.tar.bz2
cgit-oci-3fc50898940dbd46222dc4ee7c7576ae414f719b.tar.lz
cgit-oci-3fc50898940dbd46222dc4ee7c7576ae414f719b.zip

fix: make it work a bit more sensibly

-rw-r--r--Dockerfile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index 858e237..b0493eb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -63,13 +63,13 @@ CMD ["sh", "-c", "/usr/local/bin/prepare-container.sh && sh -c 'sleep 3 && chgrp
FROM base AS with-fmt
RUN apk add --no-cache py3-markdown py3-docutils groff
-RUN echo 'about-filter=/usr/lib/cgit/filters/about-formatting.sh\
-readme=:README.rst\
-readme=:readme.rst\
-readme=:README.md\
-readme=:readme.md\
-readme=:README\
-readme=:readme\
+RUN echo -e 'about-filter=/usr/lib/cgit/filters/about-formatting.sh\n\
+readme=:README.rst\n\
+readme=:readme.rst\n\
+readme=:README.md\n\
+readme=:readme.md\n\
+readme=:README\n\
+readme=:readme\n\
' >> /etc/cgitrc.default
FROM with-fmt AS with-highlighting