Browse Source

Switch to Debian

master
Anthony Perkins 8 months ago
parent
commit
2546c0af5b
  1. 16
      Dockerfile

16
Dockerfile

@ -1,8 +1,10 @@
FROM fedora:latest
RUN dnf --refresh install -y weechat && \
dnf clean all && \
useradd -c IRC -d /home/irc -m -U irc
WORKDIR /home/irc
COPY --chown=irc irc.conf .weechat/irc.conf
USER irc
FROM debian:stable
RUN apt-get update && \
apt-get install -y weechat && \
apt-get clean && \
rm -fr /var/lib/apt/lists/* && \
useradd -c User -d /home/user -m -s /bin/bash -U user
WORKDIR /home/user
COPY --chown=user irc.conf .weechat/irc.conf
USER user
CMD /usr/bin/weechat

Loading…
Cancel
Save