kafka pipe working!!!!!!!!!!!!!!!!!

lots of experiments too - to be deleted
This commit is contained in:
Adam 2021-10-23 22:44:20 +02:00
parent 1c9f415d01
commit 26626263d3
13 changed files with 506 additions and 7 deletions

View file

@ -0,0 +1,31 @@
#FROM debian:buster-slim
FROM docker:dind-rootless
ENV FACTORIO_SERVER_CONTAINER_NAME="factorio-server"
ENV KAFKA_HOST="kafka-kraft"
#RUN apt-get update && apt-get install -y --no-install-recommends \
# curl \
# docker \
# kafkacat
# root is required for following Docker logs
USER root
RUN apk add --update \
curl \
kafkacat
#USER rootless
# \
# && rm -rf /var/lib/apt/lists/*
COPY kafka-pipe.sh kafka-pipe.sh
#RUN useradd --user-group --system --create-home --no-log-init the_engineer
#USER the_engineer
ENTRYPOINT [ "/bin/sh", "/kafka-pipe.sh" ]
#ENTRYPOINT /bin/bash
#CMD exec /kafka-pipe.sh