Hi,
I have built a logstash-output-custom plugin, which I can install offline in my local logstash setup.
But, if I try to install the same when trying to create a docker image, it fails with the following error:
t-m01:log-collector t$ docker build --no-cache -t logstash-image .
Sending build context to Docker daemon 37.89 kB
Step 1/2 : FROM logstash:2.4
---> a6faa574daef
Step 2/2 : RUN /opt/logstash/bin/logstash-plugin install --no-verify logstash-output-custom-0.1.12.gem --local
---> Running in a0a5337c6b72
ERROR: Mixed source of plugins, you can't mix local .gem
and remote gems
See: 'bin/logstash-plugin install --help'
The command '/bin/sh -c /opt/logstash/bin/logstash-plugin install --local logstash-output-custom-0.1.12.gem --no-verify' returned a non-zero code: 1
Any ideas ?