rm old kafka-pipe experiments

This commit is contained in:
Adam 2021-10-23 23:21:31 +02:00
parent 4c14cc2353
commit 995ea750be
8 changed files with 15 additions and 246 deletions

View file

@ -1,31 +1,15 @@
#FROM debian:buster-slim
FROM docker:dind-rootless
ENV FACTORIO_SERVER_CONTAINER_NAME="factorio-server"
ENV KAFKA_HOST="kafka-kraft"
ENV KAFKA_HOST="kafka"
#RUN apt-get update && apt-get install -y --no-install-recommends \
# curl \
# docker \
# kafkacat
# root is required for following Docker logs
# root is required for installing dependencies
USER root
RUN apk add --update \
curl \
kafkacat
#USER rootless
# \
# && rm -rf /var/lib/apt/lists/*
USER rootless
COPY kafka-pipe.sh kafka-pipe.sh
#RUN useradd --user-group --system --create-home --no-log-init the_engineer
#USER the_engineer
ENTRYPOINT [ "/bin/sh", "/kafka-pipe.sh" ]
#ENTRYPOINT /bin/bash
#CMD exec /kafka-pipe.sh