diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..dda585060526136b6bd46385d87e1ea9d37dd47a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,9 @@ +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 diff --git a/slides/Dockerfile b/slides/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..df640cfaae1ca94044fd87a890586a29a1945308 --- /dev/null +++ b/slides/Dockerfile @@ -0,0 +1,18 @@ +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