kafka pipe requires root
This commit is contained in:
parent
995ea750be
commit
416e3ff4fd
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue