Skip to content

Commit

Permalink
Fix transitive dependency error (grafana#5308)
Browse files Browse the repository at this point in the history
* Fix transitive dependency error

- Don't update the gems that come with the logstash image

* ci bump

* ci bump
  • Loading branch information
MasslessParticle authored and KMiller-Grafana committed Feb 4, 2022
1 parent a0eddd8 commit 9bd0468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/cmd/logstash/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ RUN gem install bundler:2.3.6
COPY --chown=logstash:logstash ./clients/cmd/logstash/ /home/logstash/
WORKDIR /home/logstash/

# don't run 'bundle update'. It causes a transitive dependency error
RUN bundle config set --local path /usr/share/logstash/vendor/bundle && \
bundle install && \
bundle update && \
bundle exec rake vendor && \
bundle exec rspec

Expand Down

0 comments on commit 9bd0468

Please sign in to comment.