Commit 2790d13e authored by Narcon Nicolas's avatar Narcon Nicolas
Browse files

CI: create gitlab-ci and Dockerfile for revealjs initialization

parent 63127a9a
No related merge requests found
Showing with 27 additions and 0 deletions
+27 -0
image: docker:latest
services:
- docker:dind
build-image:
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE slides/.
- docker push $CI_REGISTRY_IMAGE
\ No newline at end of file
FROM alpine:latest
# If we need the latest version of revealjs
# RUN wget -O reveal.zip https://github.com/hakimel/reveal.js/archive/master.zip
# RUN unzip reveal.zip -d reveal
# Création d'un dossier public pour stocker notre future présentation
RUN mkdir /public
# Copie des assets nécessaires reveal.js
COPY ./slides/revealjs /public/revealjs
# Copie du fichier index.html modifié (gestion du markdown, et lien vers le fichier css custom)
COPY ./slides/index.html /public/
COPY ./slides/illustrations /public/illustrations
# Copie des styles custom
COPY ./slides/otb.css /public/
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment