2024-08-27 21:10:30 +02:00
|
|
|
FROM debian:stable
|
|
|
|
|
|
|
|
# for basic Forgejo + AsciiDoctor support
|
2024-08-27 21:43:50 +02:00
|
|
|
RUN apt update && apt install -y --no-install-recommends nodejs git ruby-rubygems make ca-certificates && apt clean
|
2024-08-27 21:10:30 +02:00
|
|
|
|
|
|
|
RUN gem install asciidoctor asciidoctor-diagram
|
|
|
|
|
|
|
|
# tools for diagram generation
|
2024-09-22 14:31:33 +02:00
|
|
|
RUN apt install -y --no-install-recommends mscgen graphviz && apt clean
|
2024-08-27 21:10:30 +02:00
|
|
|
|
|
|
|
# tools for automatic deployment
|
|
|
|
RUN apt install -y --no-install-recommends rsync openssh-client && apt clean
|
|
|
|
|
|
|
|
# run as unprivileged user in the container
|
|
|
|
RUN useradd -m ciuser
|
|
|
|
USER ciuser
|