Skip to content
Snippets Groups Projects
Commit b3648003 authored by bne86's avatar bne86
Browse files

slim down consumer and producer docker images.

parent 5428062a
No related branches found
No related tags found
No related merge requests found
Pipeline #
FROM python:2.7-alpine FROM python:2.7-alpine
MAINTAINER bne86 <b.von.st.vieth@fz-juelich.de> MAINTAINER bne86 <b.von.st.vieth@fz-juelich.de>
ADD . swift-kafka ADD requirements.txt requirements.txt
WORKDIR swift-kafka RUN pip install -r requirements.txt
RUN python setup.py install
ADD docker/kafka/consumer/consumer.py consumer.py ADD docker/kafka/consumer/consumer.py consumer.py
CMD python consumer.py CMD python consumer.py
FROM python:2.7-alpine FROM python:2.7-alpine
MAINTAINER bne86 <b.von.st.vieth@fz-juelich.de> MAINTAINER bne86 <b.von.st.vieth@fz-juelich.de>
ADD . swift-kafka ADD requirements.txt requirements.txt
WORKDIR swift-kafka RUN pip install -r requirements.txt
RUN python setup.py install
ADD docker/kafka/producer/producer.py producer.py ADD docker/kafka/producer/producer.py producer.py
CMD python producer.py CMD python producer.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment