circleci: try to fix the build.
This commit is contained in:
1
Gemfile
1
Gemfile
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user