Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/docker-files/devops/kpi/backend/Dockerfile b/docker-files/devops/kpi/backend/Dockerfile
- index 83c3aeec..ebe624bf 100644
- --- a/docker-files/devops/kpi/backend/Dockerfile
- +++ b/docker-files/devops/kpi/backend/Dockerfile
- @@ -7,8 +7,6 @@ ARG RELEASE=${RELEASE}
- ARG ARTIFACTORY=${ARTIFACTORY}
- ENV RELEASE $RELEASE
- -ARG APP_BRANCH
- -
- ADD id_rsa /root/.ssh/id_rsa
- ADD id_rsa.pub /root/.ssh/id_rsa.pub
- ADD known_hosts /root/.ssh/known_hosts
- @@ -51,7 +49,7 @@ ENV ENVIRONMENT=production
- WORKDIR /root/kpi-backend
- -RUN git archive --format=tar --remote=ssh://git@bitbucket.sco.alma.cl:7999/alma/almasw.git $APP_BRANCH:ADC/SW/DevOps/KPI kpi-backend | tar -x --directory /root/
- +RUN git archive --format=tar --remote=ssh://git@bitbucket.sco.alma.cl:7999/alma/almasw.git release/OFFLINE-2018AUG-B:ADC/SW/DevOps/KPI kpi-backend | tar -x --directory /root/
- RUN pip install -r requirements.txt
- diff --git a/docker-files/devops/kpi/frontend/Dockerfile b/docker-files/devops/kpi/frontend/Dockerfile
- index ac5a5003..e68f9ef2 100644
- --- a/docker-files/devops/kpi/frontend/Dockerfile
- +++ b/docker-files/devops/kpi/frontend/Dockerfile
- @@ -10,8 +10,6 @@ ARG RELEASE=${RELEASE}
- ARG ARTIFACTORY=${ARTIFACTORY}
- ENV RELEASE $RELEASE
- -ARG APP_BRANCH
- -
- ADD id_rsa /root/.ssh/id_rsa
- ADD id_rsa.pub /root/.ssh/id_rsa.pub
- ADD known_hosts /root/.ssh/known_hosts
- @@ -19,7 +17,7 @@ ADD known_hosts /root/.ssh/known_hosts
- RUN mkdir -p /root/.ssh/ && \
- chmod 400 /root/.ssh/id_rsa
- -RUN git archive --format=tar --remote=ssh://git@bitbucket.sco.alma.cl:7999/alma/almasw.git $APP_BRANCH:ADC/SW/DevOps/KPI kpi-frontend | tar -x --directory /root/
- +RUN git archive --format=tar --remote=ssh://git@bitbucket.sco.alma.cl:7999/alma/almasw.git release/OFFLINE-2018AUG-B:ADC/SW/DevOps/KPI kpi-frontend | tar -x --directory /root/
- WORKDIR /root/kpi-frontend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement