Skip to content

Instantly share code, notes, and snippets.

@lussoluca
Created May 16, 2016 11:54
Show Gist options
  • Save lussoluca/226507a969927964773865e703af9000 to your computer and use it in GitHub Desktop.
Save lussoluca/226507a969927964773865e703af9000 to your computer and use it in GitHub Desktop.
FROM logstash:1.5
RUN apt-get update && apt-get install -y \
ruby \
git \
vim \
zip \
openssl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN gem install acquia-cloud bundler
RUN git clone https://github.com/Equiem/logstash-input-acquia.git \
&& cd logstash-input-acquia \
&& gem build logstash-input-acquia.gemspec
RUN cd /opt/logstash \
&& bin/plugin install /logstash-input-acquia/logstash-input-acquia-1.6.0.gem
Step 1 : FROM logstash:1.5
---> bf5262648cad
Step 2 : RUN apt-get update && apt-get install -y ruby git vim zip openssl && apt-get clean && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 6a26cabb4275
Step 3 : RUN gem install acquia-cloud bundler
---> Using cache
---> ab8251e2ed49
Step 4 : RUN git clone https://github.com/Equiem/logstash-input-acquia.git && cd logstash-input-acquia && gem build logstash-input-acquia.gemspec
---> Running in d361d7ed34ba
Cloning into 'logstash-input-acquia'...
WARNING: open-ended dependency on logstash-codec-plain (>= 0) is not recommended
if logstash-codec-plain is semantically versioned, use:
add_runtime_dependency 'logstash-codec-plain', '~> 0'
WARNING: open-ended dependency on stud (>= 0) is not recommended
if stud is semantically versioned, use:
add_runtime_dependency 'stud', '~> 0'
WARNING: open-ended dependency on logstash-devutils (>= 0, development) is not recommended
if logstash-devutils is semantically versioned, use:
add_development_dependency 'logstash-devutils', '~> 0'
WARNING: See http://guides.rubygems.org/specification-reference/ for help
Successfully built RubyGem
Name: logstash-input-acquia
Version: 1.6.0
File: logstash-input-acquia-1.6.0.gem
---> f1bdcab3bec7
Removing intermediate container d361d7ed34ba
Step 5 : RUN cd /opt/logstash && bin/plugin install /logstash-input-acquia/logstash-input-acquia-1.6.0.gem
---> Running in 2c1ad946be4e
Validating /logstash-input-acquia/logstash-input-acquia-1.6.0.gem
Installing logstash-input-acquia
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Installation successful
---> 9f07ab7782ef
Removing intermediate container 2c1ad946be4e
Successfully built 9f07ab7782ef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment