Create a docker file for building the documentation

This commit is contained in:
Raoul Snyman 2019-10-03 17:49:46 +00:00
parent c427bf0712
commit 2bdb78e11d
2 changed files with 13 additions and 0 deletions

View File

@ -39,3 +39,13 @@ build-fedora:
- docker push openlp/fedora:latest
only:
- master@openlp/runners
build-documentation:
stage: build
script:
- docker pull openlp/documentation || true
- docker build --cache-from openlp/documentation --tag openlp/documentation:$CI_COMMIT_SHA --tag openlp/documentation:latest -f Dockerfile.documentation .
- docker push openlp/documentation:$CI_COMMIT_SHA
- docker push openlp/documentation:latest
only:
- master@openlp/runners

3
Dockerfile.documentation Normal file
View File

@ -0,0 +1,3 @@
FROM alpine:latest
RUN apk --no-cache add py3-sphinx py3-sphinx_rtd_theme texlive-full