# creating a 32 bit docker images with inspircd
FROM ubuntu:bionic-20210118
docker run --rm -ti ubuntu:bionic-20210118
apt-get update && apt-get install -y wget build-essential
# https://stackoverflow.com/questions/27701930/how-to-add-users-to-docker-container
useradd -ms /bin/bash ircuser && su ircuser
cd ~ ; mkdir temp ; cd temp && wget https://github.com/inspircd/inspircd/archive/v3.8.1.tar.gz
tar xzvf v3.8.1.tar.gz && rm -f v3.8.1.tar.gz && cd inspircd-3.8.1/
Configuration:
./configure <<< "yes /home/ircuser/inspircd-3.8.1/run yes /home/ircuser/inspircd-3.8.1/run/bin yes /home/ircuser/inspircd-3.8.1/run/conf yes /home/ircuser/inspircd-3.8.1/run/data yes /home/ircuser/inspircd-3.8.1/run/logs yes /home/ircuser/inspircd-3.8.1/run/manuals yes /home/ircuser/inspircd-3.8.1/run/modules yes /home/ircuser/inspircd-3.8.1/run yes "
Make install:
make -j2 install