diff --git a/pica-etherpad/Dockerfile b/pica-etherpad/Dockerfile index 9b1413a15b0a4d29dac1d30da32164486ac7f79b..e30ad05e8414d633abde50de147420caf092acb7 100644 --- a/pica-etherpad/Dockerfile +++ b/pica-etherpad/Dockerfile @@ -2,6 +2,7 @@ FROM registry.picasoft.net:5000/pica-debian:latest MAINTAINER antoine@barbare.me ENV ETHERPAD_VERSION 1.6.5 +ENV ETHERPAD_LANDING_PAGE_VERSION v0.1 ENV NODE_ENV=production #Copy configuration @@ -52,7 +53,13 @@ RUN bin/installDeps.sh && \ ep_user_font_size \ ep_pads_stats -RUN cd ~/src/templates && git clone https://framagit.org/DeBugs/picasoft-etherpad-landing-page.git && cp picasoft-etherpad-landing-page/index.html index.html && cp picasoft-etherpad-landing-page/static/* ../static/ -r && cd - +RUN cd ~/src/templates && \ + git clone https://framagit.org/DeBugs/picasoft-etherpad-landing-page.git && \ + cd ./picasoft-etherpad-landing-page/ && \ + git checkout ${ETHERPAD_LANDING_PAGE_VERSION} && \ + cp ./index.html ../index.html && \ + cp ./static/* ../../static/ -r && \ + cd -