diff options
author | needo37 <needo37@users.noreply.github.com> | 2018-08-21 05:31:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 05:31:42 +0000 |
commit | 7841a2eb479d6da136d6cae4644b183db8a48092 (patch) | |
tree | 4c92df2de5a17528c79af6cec780b902d4d699ce /Dockerfile | |
parent | Update Dockerfile (diff) | |
download | docker-bitlbee-libpurple-7841a2eb479d6da136d6cae4644b183db8a48092.tar.gz docker-bitlbee-libpurple-7841a2eb479d6da136d6cae4644b183db8a48092.zip |
Running things as root is bad.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" ] |