Commit 817b6e85 authored by David Foucher's avatar David Foucher

Fix docker-compose for building web backoffice

parent 6812dd6c
Pipeline #2076 passed with stage
in 3 minutes and 14 seconds
......@@ -38,7 +38,7 @@ services:
dockerfile: dockerfile_backoffice
args:
- TREFLE_GIT=${TREFLE_GIT:-https://git.beta.pole-emploi.fr/open-source/trefle.git}
- TREFLE_VERSION=${VERSION}
- TREFLE_BACK_VERSION=${VERSION}
- TREFLE_OLD_VERSION=${OLD_VERSION}
depends_on:
- trefle
......
......@@ -21,8 +21,8 @@ RUN apt-get update && apt-get -y install \
ARG TREFLE_GIT
ARG TREFLE_VERSION
RUN git clone -b ${TREFLE_VERSION} ${TREFLE_GIT} /srv/trefle && \
ARG TREFLE_BACK_VERSION
RUN git clone -b ${TREFLE_BACK_VERSION} ${TREFLE_GIT} /srv/trefle && \
chown -R www-data: /srv/trefle && \
chmod -R u+rwx /srv/trefle
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment