hamnet70/ci/docker/doc/Dockerfile
Thomas Kolb 159c3f1518
All checks were successful
/ build-hamnet70 (push) Successful in 28s
/ build-doc (push) Successful in 16s
/ deploy-doc (push) Has been skipped
ci/docker: add graphviz to documentation build container
2024-09-22 14:31:33 +02:00

17 lines
521 B
Docker

FROM debian:stable
# for basic Forgejo + AsciiDoctor support
RUN apt update && apt install -y --no-install-recommends nodejs git ruby-rubygems make ca-certificates && apt clean
RUN gem install asciidoctor asciidoctor-diagram
# tools for diagram generation
RUN apt install -y --no-install-recommends mscgen graphviz && apt clean
# 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