Skip to content

luca-af/ubi8-znc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZNC on UBI 8 image

Docker Repository on Quay

This container will use ubi8/ubi-minimal as base image to build and run ZNC bouncer.

How to run it

ZNC will start automatically with the option --foreground. It expect to find a valid configuration inside /home/znc/. It can be started with:

$ podman run -d \
           -p [local_port]:[znc_port] \
           -u 1001 \
           -v /path/to/folder:/home/znc quay.io/elroncio/ubi8-znc

If you want to create a configuration for the first time, you can run it with:

$ podman run -it \
           -p [local_port]:[znc_port] \
           -u 1001 
           -v /path/to/folder:/home/znc quay.io/elroncio/ubi8-znc --makeconf

How to build it

The container will perform a multi-stage build, cloning and building the soruce code of znc at the tag setted with ARG TAG. It will run as user set by ARG UID and it will be in the directory setted by ARG ZNC_HOME_DIR. The default valuse are:

  • TAG: 1.7.5
  • UID: 1001
  • ZNC_HOME_DIR: /home/znc

You can change those values at build time.

To build:

$ buildah bud -f Dockerfile -t your/tag/name

ToDo:

  • Better documentation
  • Selinux option with Udica