Skip to content
Snippets Groups Projects
Commit 0ab49545 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Adds /var/www/discourse as a safe git directory.

parent 9a567e0a
No related branches found
No related tags found
No related merge requests found
Pipeline #1485 passed with stage
in 9 minutes and 57 seconds
......@@ -20,7 +20,8 @@ RUN apt-get update && apt-get install -y jq
WORKDIR /var/www/discourse
RUN git remote set-branches --add origin ${DISCOURSE_VERSION} &&\
RUN git config --global --add safe.directory /var/www/discourse &&\
git remote set-branches --add origin ${DISCOURSE_VERSION} &&\
git fetch --depth 1 origin ${DISCOURSE_VERSION} &&\
sudo -u discourse bundle config --local deployment true &&\
sudo -u discourse bundle config --local path ./vendor/bundle &&\
......
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