Kafkatorio/modules/infra-factorio-server/factorio-and-kpipe-server/factorioEvents.Dockerfile

28 lines
509 B
Text
Raw Permalink Normal View History

2022-10-04 22:28:04 +02:00
# syntax=docker/dockerfile:1
ARG factorioVersion=2.0.77
FROM factoriotools/factorio:$factorioVersion
# In progress
# The intention is to remove kafka-pipe and have a
# pre-preared Factorio Docker container than can
# just run, without needing an additional
# container with kcat.
#RUN apk add --update \
# curl \
# kafkacat \
# ;
ENV KCAT_CONFIG="/kcat.conf"
RUN apt-get update && apt-get install -y \
kafkacat \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /
COPY kafka-pipe.sh kafka-pipe.sh