Skip to content
Snippets Groups Projects
Commit 0e8c405a authored by Igor Witz's avatar Igor Witz
Browse files

Update pica-etherpad/Dockerfile

parent f2c68687
No related branches found
No related tags found
1 merge request!22Ajout de la CI pour Etherpad et Dokuwiki
Pipeline #31154 passed
......@@ -13,12 +13,10 @@ ENV NODE_ENV=${NODE_ENV_BUILD}
# téléchargement d'Etherpad et de la page d'accueil dans une image temporaire
FROM base as downloader
RUN cat /etc/apt/sources.list && \
echo "deb http://security.debian.org/debian-security jessie/updates main contrib non-free" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y curl -t jessie/updates && \
RUN apt-get update && \
apt-get install -y \
git \
curl \
gzip \
libssl-dev \
pkg-config \
......@@ -29,10 +27,7 @@ RUN cat /etc/apt/sources.list && \
USER node
WORKDIR /opt/etherpad-lite
RUN echo "deb http://security.debian.org/debian-security jessie/updates main contrib non-free" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install curl -y -t jessie/updates && \
curl -SL https://github.com/ether/etherpad-lite/archive/${ETHERPAD_VERSION}.zip > etherpad.zip && \
RUN curl -SL https://github.com/ether/etherpad-lite/archive/${ETHERPAD_VERSION}.zip > etherpad.zip && \
unzip etherpad && \
rm -Rf etherpad.zip etherpad-lite-${ETHERPAD_VERSION}/.git && \
mv etherpad-lite-${ETHERPAD_VERSION}/* . && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment