From 33023172770f2dac1d0a9824fa01ec4e91264ed7 Mon Sep 17 00:00:00 2001
From: Picasoft Registry <picasoft@assos.picasoft.net>
Date: Fri, 18 May 2018 17:25:55 +0200
Subject: [PATCH] =?UTF-8?q?Pr=C3=A9ciser=20la=20version=20de=20picasoft-et?=
 =?UTF-8?q?herpad-landing-page=20qu'on=20veut=20utiliser?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 pica-etherpad/Dockerfile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/pica-etherpad/Dockerfile b/pica-etherpad/Dockerfile
index 9b1413a1..e30ad05e 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 -
 
 
 
-- 
GitLab