diff --git a/slides/Dockerfile b/slides/Dockerfile index e622212..933a95c 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 db442f1..b5e2f92 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 @@ - + - -+ ++ -