circleci: try to fix the build.

This commit is contained in:
evazion
2019-08-08 00:37:34 -05:00
parent d45e199586
commit 853becbcfc
3 changed files with 7 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ ENV PATH $PATH:/usr/local/bin
USER root
COPY . /app
RUN chown -R danbooru:danbooru public/ tmp/ config/ log/ db/
RUN chown -R danbooru:danbooru /app
# install circleci cli tools
RUN curl -q -o /usr/local/bin/circleci https://circle-downloads.s3.amazonaws.com/releases/build_agent_wrapper/circleci
@@ -14,4 +14,5 @@ RUN chmod +x /usr/local/bin/circleci
RUN sed -i'' -e 's/run -it/run -i/' /usr/local/bin/circleci
USER danbooru
RUN git reset --hard master
RUN bundle install > /dev/null