From 7841a2eb479d6da136d6cae4644b183db8a48092 Mon Sep 17 00:00:00 2001 From: needo37 Date: Tue, 21 Aug 2018 00:31:42 -0500 Subject: Running things as root is bad. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index f9f9c37..a3f8a9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -101,4 +101,7 @@ RUN apk add --no-cache --update libpurple \ EXPOSE 6667 +RUN addgroup -g 996 -S bitlbee +RUN adduser -u 996 -D -S -G bitlbee bitlbee +USER bitlbee ENTRYPOINT [ "/usr/sbin/bitlbee", "-F", "-n" ] -- cgit v1.2.3