1
0
mirror of https://gitlab.com/openlp/runners.git synced 2024-12-22 11:22:48 +00:00

Merge branch 'documentation-image' into 'master'

Create a docker file for building the documentation

See merge request openlp/runners!4
This commit is contained in:
Raoul Snyman 2019-10-03 17:49:46 +00:00
commit 140e2ab1a4
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