Skip to content

Commit cdb7e1e

Browse files
authored
add explicit root user to supervisord (#530)
1 parent 5f3f711 commit cdb7e1e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/main/docker/kafka/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN apt-get -o Acquire::Check-Valid-Until=false update && \
3333
COPY --link scripts/start-kafka.sh /usr/bin/start-kafka.sh
3434

3535
# Supervisor config
36-
COPY --link supervisor/kafka.conf supervisor/zookeeper.conf /etc/supervisor/conf.d/
36+
COPY --link supervisor/kafka.conf supervisor/zookeeper.conf supervisor/supervisor.conf /etc/supervisor/conf.d/
3737

3838
# 2181 is zookeeper, 9092 is kafka
3939
# EXPOSE 2181 9092
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[supervisord]
2+
nodaemon=true
3+
user=root
4+

0 commit comments

Comments
 (0)