kafka pipe requires root

This commit is contained in:
Adam 2021-10-23 23:51:43 +02:00
parent 995ea750be
commit 416e3ff4fd

View file

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