0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 13:43:41 +00:00

Added docker build file for generating documentation

This commit is contained in:
Benedikt Galbavy 2024-04-30 15:30:57 +02:00
parent 5a21f9125b
commit 69bf328851
4 changed files with 19 additions and 0 deletions

13
docs/docker/Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM alpine:latest
RUN apk --update --no-cache add doxygen graphviz git
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
WORKDIR /source
ENTRYPOINT ["/entrypoint.sh"]
CMD ["doxygen", "/Doxyfile_copy"]

View File

@ -0,0 +1,6 @@
#!/bin/sh
cp /Doxyfile /Doxyfile_copy
echo "OUTPUT_DIRECTORY = /output" >> /Doxyfile_copy
exec "$@"