14 lines
385 B
Docker
14 lines
385 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
|
|
|
|
# run as unprivileged user in the container
|
|
RUN useradd -m ciuser
|
|
USER ciuser
|