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:
parent
5a21f9125b
commit
69bf328851
13
docs/docker/Dockerfile
Normal file
13
docs/docker/Dockerfile
Normal 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"]
|
||||
6
docs/docker/entrypoint.sh
Normal file
6
docs/docker/entrypoint.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
cp /Doxyfile /Doxyfile_copy
|
||||
echo "OUTPUT_DIRECTORY = /output" >> /Doxyfile_copy
|
||||
|
||||
exec "$@"
|
||||
Loading…
x
Reference in New Issue
Block a user