forgejo-docker/Dockerfile
2024-04-06 02:13:41 +02:00

8 lines
280 B
Docker

FROM codeberg.org/forgejo/forgejo:1.21.10-0
LABEL maintainer "GnousEU"
RUN apk --no-cache add asciidoctor pandoc sudo && \
echo "git ALL=(nobody) NOPASSWD: /usr/bin/pandoc" >> /etc/sudoers && \
echo "git ALL=(nobody) NOPASSWD: /usr/bin/asciidoctor" >> /etc/sudoers