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

@@ -44,6 +44,7 @@ gem 'webpacker', '>= 4.0.x'
gem 'retriable'
gem 'redis'
gem 'request_store'
gem 'term-ansicolor', require: "term/ansicolor"
# needed for looser jpeg header compat
gem 'ruby-imagespec', :require => "image_spec", :git => "https://github.com/r888888888/ruby-imagespec.git", :branch => "exif-fixes"

View File

@@ -371,10 +371,13 @@ GEM
stripe (4.21.3)
faraday (~> 0.13)
net-http-persistent (~> 3.0)
term-ansicolor (1.7.1)
tins (~> 1.0)
thor (0.19.4)
thread_safe (0.3.6)
tilt (2.0.9)
timecop (0.9.1)
tins (1.21.1)
twitter (6.2.0)
addressable (~> 2.3)
buftok (~> 0.2.0)
@@ -483,6 +486,7 @@ DEPENDENCIES
statistics2
streamio-ffmpeg
stripe
term-ansicolor
timecop
twitter
unicorn

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