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

15 lines
300 B
Docker

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