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
|
|
|
|
2024-08-27 18:58:53 +02:00
|
|
|
# tools for diagram generation
|
|
|
|
RUN apt install -y --no-install-recommends mscgen && apt clean
|
2024-08-26 22:50:28 +02:00
|
|
|
|
2024-08-27 20:01:54 +02:00
|
|
|
# tools for automatic deployment
|
2024-08-27 20:05:59 +02:00
|
|
|
RUN apt install -y --no-install-recommends rsync openssh-client && apt clean
|
2024-08-27 20:01:54 +02:00
|
|
|
|
2024-08-27 18:58:53 +02:00
|
|
|
# run as unprivileged user in the container
|
2024-08-26 22:50:28 +02:00
|
|
|
RUN useradd -m ciuser
|
|
|
|
USER ciuser
|