Browse Source

Add an IRC user

master
Anthony Perkins 10 months ago
parent
commit
6dabe5c498
  1. 7
      Dockerfile

7
Dockerfile

@ -1,6 +1,9 @@
FROM registry.opensuse.org/opensuse/tumbleweed:latest
RUN zypper install -y weechat && \
RUN zypper install -y shadow weechat && \
zypper clean -a
WORKDIR /root
RUN useradd -c IRC -d /home/irc -m -U irc
WORKDIR /home/irc
COPY irc.conf .weechat/irc.conf
RUN chown -R irc: .
USER irc
CMD /usr/bin/weechat

Loading…
Cancel
Save