Kafkatorio/modules/factorio-events-kafka-pipe/kafka-pipe.Dockerfile
2021-10-23 23:51:43 +02:00

16 lines
351 B
Docker

FROM docker:dind-rootless
ENV FACTORIO_SERVER_CONTAINER_NAME="factorio-server"
ENV KAFKA_HOST="kafka"
# root is required for installing dependencies and
# using the docker socket (listening to logs)
USER root
RUN apk add --update \
curl \
kafkacat
#USER rootless
COPY kafka-pipe.sh kafka-pipe.sh
ENTRYPOINT [ "/bin/sh", "/kafka-pipe.sh" ]