hamnet70/doc/docker/Dockerfile

14 lines
385 B
Docker
Raw Normal View History

2024-08-26 00:01:59 +02:00
FROM debian:stable
2024-08-26 22:50:28 +02:00
# for basic Forgejo + AsciiDoctor support
RUN apt update && apt install -y --no-install-recommends nodejs git ruby-rubygems make && apt clean
2024-08-26 00:01:59 +02:00
RUN gem install asciidoctor asciidoctor-diagram
2024-08-26 22:50:28 +02:00
# tools for diagram generation
RUN apt install -y --no-install-recommends mscgen && apt clean
2024-08-26 22:50:28 +02:00
# run as unprivileged user in the container
2024-08-26 22:50:28 +02:00
RUN useradd -m ciuser
USER ciuser