aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-05 15:32:46 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-05 15:32:46 +0100
commit36ba24478a4493389cac1f5233b10eab909bceba (patch)
treee62fda2a0b621cb3ff90dbd5e2c0329137d148ed
parent9eb523beeddc88be51de094e117737797dbdda5d (diff)
downloadcgit-oci-36ba24478a4493389cac1f5233b10eab909bceba.tar.gz
cgit-oci-36ba24478a4493389cac1f5233b10eab909bceba.tar.bz2
cgit-oci-36ba24478a4493389cac1f5233b10eab909bceba.tar.lz
cgit-oci-36ba24478a4493389cac1f5233b10eab909bceba.zip

feat: support libravatar

-rw-r--r--Containerfile3
-rw-r--r--image/cgitrc3
2 files changed, 5 insertions, 1 deletions
diff --git a/Containerfile b/Containerfile
index 352b6b9..7e8b920 100644
--- a/Containerfile
+++ b/Containerfile
@@ -17,7 +17,8 @@ RUN apk upgrade --no-cache && \
fcgiwrap \
sudo zsh openrc \
libcap \
- lzip
+ lzip \
+ lua5.4 lua5.4-ossl
ADD image/prepare-container.sh /usr/local/bin/prepare-container.sh
ADD image/fcgiwrap-launcher /usr/local/bin/fcgiwrap-launcher
diff --git a/image/cgitrc b/image/cgitrc
index 5054a5f..87d1b9c 100644
--- a/image/cgitrc
+++ b/image/cgitrc
@@ -40,6 +40,9 @@ root-desc=Some information...
# Allow download of tar.gz, tar.bz2, tar.lz and zip-files
snapshots=tar.gz tar.bz2 tar.lz zip
+# Show libravatar
+email-filter=lua5.4 /usr/lib/cgit/filters/email-libravatar.lua
+
robots=noindex, nofollow
enable-git-config=1
#source-filter=/opt/highlight.sh