hamnet70/doc/docker/Dockerfile
Thomas Kolb f686635837
All checks were successful
/ build-doc (push) Successful in 14s
/ deploy-doc (push) Successful in 9s
doc: automatic builds and deployment using Forgejo Actions
Actions run in a custom Docker image built by the scripts in `doc/docker`.
There are two jobs that run in sequence:

- `build-doc`: builds the documentation from the AsciiDoc sources.
- `deploy-doc`: Uploads the generated files to http://0fm.de
2024-08-27 21:10:30 +02:00

17 lines
496 B
Docker

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