aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneedo37 <needo37@users.noreply.github.com>2018-08-21 05:31:42 +0000
committerGitHub <noreply@github.com>2018-08-21 05:31:42 +0000
commit7841a2eb479d6da136d6cae4644b183db8a48092 (patch)
tree4c92df2de5a17528c79af6cec780b902d4d699ce
parentUpdate Dockerfile (diff)
downloaddocker-bitlbee-libpurple-7841a2eb479d6da136d6cae4644b183db8a48092.tar.gz
docker-bitlbee-libpurple-7841a2eb479d6da136d6cae4644b183db8a48092.zip
Running things as root is bad.
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
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" ]