These Dockerfiles build a container housing InspIRCd. The current version is 2.0.21.
This repository is split into two Dockerfiles. The first, in the build/ directory, builds the image for the build environment. That image is tagged inspircd-build and pulls in build-essentials.
The second Dockerfile is in the root of the repository. It uses the InspIRCd binary built in the build environment to create an image without build-essentials.
To use this image you will need to populate the /inspircd/conf directory with configuration files:
Bind a conf/ directory from the host machine
docker run -v /my/conf:/inspircd/conf -p 6667 inspircd
Follow the steps below to build the image with the latest InspIRCd.
- Update build/build.sh to download the latest version.
- Run
./build/build.sh
- Run
docker build -t inspircd .
The build script will download and compile the latest InspIRCd in the build environment.