From 0a61175186c9400b39d30f57073da4b449b20651 Mon Sep 17 00:00:00 2001 From: Lukas Grimm Date: Thu, 5 Dec 2024 17:09:20 +0100 Subject: [PATCH] fix reveal --- slides/Dockerfile | 10 ++-------- slides/index.html.patch | 4 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/slides/Dockerfile b/slides/Dockerfile index e6222123..933a95c4 100644 --- a/slides/Dockerfile +++ b/slides/Dockerfile @@ -4,13 +4,7 @@ ENV NPM_CONFIG_CACHE=/tmp/.npm WORKDIR /app -RUN git clone https://github.com/hakimel/reveal.js.git reveal \ - && git clone https://github.com/puzzle/pitc-revealjs-theme.git puzzle-theme \ - && mv puzzle-theme/css/theme/puzzle.css reveal/css/theme/ \ - && mv puzzle-theme/css/theme/source/puzzle.scss reveal/css/theme/source/ \ - && mv puzzle-theme/css/theme/source/puzzle-imgs reveal/css/theme/source/ \ - && rm -rf puzzle-theme \ - && rm -rf reveal/.git/ +RUN git clone https://github.com/hakimel/reveal.js.git reveal WORKDIR reveal @@ -18,7 +12,7 @@ COPY slides/ansible-techlab ./ansible-techlab COPY slides/index.html.patch . RUN patch --forward --strip=1 index.html --input=index.html.patch \ - && npm install && npm run build -- css-themes + && npm install RUN chgrp -R 0 ${NPM_CONFIG_CACHE} \ && chmod -R g=u ${NPM_CONFIG_CACHE} diff --git a/slides/index.html.patch b/slides/index.html.patch index db442f11..b5e2f925 100644 --- a/slides/index.html.patch +++ b/slides/index.html.patch @@ -1,11 +1,11 @@ --- index_orig.html 2021-10-27 21:22:24.221941946 +0200 +++ index.html 2021-10-27 21:07:05.583077961 +0200 @@ -8,17 +8,20 @@ - + - -+ ++ -