1
0
mirror of https://github.com/rlister/dockerfiles.git synced 2025-12-11 00:36:27 +00:00

add old sqs hack image

This commit is contained in:
Richard Lister
2016-04-14 23:34:01 -04:00
parent 47cb44d538
commit b7f8ff438c
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
FROM debian:jessie
MAINTAINER Ric Lister <rlister@gmail.com>
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive \
apt-get install -yq \
openjdk-7-jre-headless \
wget
ENV LS_VERSION 1.5.0
WORKDIR /app
RUN cd /tmp && \
wget -q http://download.elastic.co/logstash/logstash/logstash-${LS_VERSION}.tar.gz && \
tar zxf /tmp/logstash-${LS_VERSION}.tar.gz -C /app --strip-components=1 && \
rm -f /tmp/logstash-${LS_VERSION}.tar.gz
## remove shipped sqs plugin and replace with my nasty hacked fork
RUN bin/plugin uninstall logstash-input-sqs && \
(echo 'gem "logstash-input-sqs", github: "rlister/logstash-input-sqs"' >> Gemfile) && \
apt-get install -yq git && \
bin/plugin install --no-verify
ENTRYPOINT [ "bin/logstash" ]

View File

@@ -0,0 +1 @@
input { stdin { } } output { stdout {} }