pisswaterfall.duckdns.org | |
Name | pisswaterfall.duckdns.org |
---|---|
Location | Rio de Janeiro, Rio de Janeiro, Brasil |
Owner | rber |
SID | 157 |
Type | Leaf |
Status | Active |
not sure what should I put here for now :3 piss
// rber // Location: Rio de Janeiro, Rio de Janeiro, Brasil // SID: 157 link pisswaterfall.duckdns.org { incoming { mask *; }
outgoing {
hostname pisswaterfall.duckdns.org;
port 6900;
options { tls; }
} password "iWukkmm62QzoTydx1N3CBAeHCMQDWuI33lCwt86xehE=" { spkifp; } class servers; }
# author rber
# [[reminder to insert GPLv3 here later]]
FROM registry.opensuse.org/opensuse/tumbleweed:latest
RUN zypper in -y -t pattern devel_basis devel_C_C++ network_admin console
RUN zypper in -y git python3 libopenssl-devel libsodium-devel pcre2-devel libcurl-devel argon2-devel c-ares-devel libcares2 mt
RUN useradd pissnet; \
chown -R pissnet:users /home/pissnet
ENV WORKDIR=/home/pissnet/pissircd
ENV HOME=/home/pissnet
USER pissnet
RUN git clone --single-branch https://github.com/rbertoche/pissircd $WORKDIR
WORKDIR $WORKDIR
RUN ./Config
# if for some reason don't want to call Config (both seem to work)
# ./autogen.sh && \
# ./configure --with-showlistmodes --enable-ssl --enable-libcurl \
# --with-nick-history=2000 --with-permissions=0600 --enable-dynamic-linking &&
# make pem
RUN mkdir -p $HOME/unrealircd/tmp
RUN make -j4; \
make install;
VOLUME /home/pissnet/unrealircd
RUN make clean;
USER root
RUN rm -rf /var/cache/zypp/packages
#REM tbc
And build it and run it with:
podman build -f pissnet-dockerfile pissnet
podman run -dt -p [::]:6900:6900 -p [::]:6667:6667 -p [::]:6697:6697 -u pissnet --name pissnet pissnet-devel-server-2 bash -c "/home/pissnet/unrealircd/unrealircd start; sleep infinity"
Ofc, these port mappings are for IPv6 only. Kill it with killall -15 unrealircd since it won't have a shell attached (or run it without the bash and following arguments and start it yourself there)