19 lines
507 B
Plaintext
19 lines
507 B
Plaintext
# This sets up a docker container suitable for use with Travis CI
|
|
|
|
FROM r888888888/danbooru-base
|
|
|
|
ENV PATH $PATH:/usr/local/bin
|
|
|
|
USER root
|
|
COPY . /app
|
|
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
|
|
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
|