Skip to content

Commit f1d3574

Browse files
committed
Update dockerfile to use compatible version of Bundler
Bundler 2.0 introduced requirements that are incompatible with the version of Ruby shipped with Logstash 5.6. This commit installs a pre 2.0 version of Bundler Fixes logstash-plugins#101
1 parent 757bef6 commit f1d3574

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ matrix:
1515
fast_finish: true
1616
install: ci/unit/docker-setup.sh
1717
script: ci/unit/docker-run.sh
18-
before_install: gem install bundler -v '< 2'

ci/unit/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN cp /usr/share/logstash/logstash-core/versions-gem-copy.yml /usr/share/logsta
66
ENV PATH="${PATH}:/usr/share/logstash/vendor/jruby/bin"
77
ENV LOGSTASH_SOURCE=1
88
ENV JARS_SKIP="true"
9-
RUN gem install bundler
9+
RUN gem install bundler -v '< 2'
1010
WORKDIR /usr/share/plugins/this
1111
RUN bundle install
1212
COPY --chown=logstash:logstash . /usr/share/plugins/this

0 commit comments

Comments
 (0)