Updated `znc` container to the new linuxserver.io container structure, added some new build dependencies for znc modules and updated to Alpine 19 `kiwiirc` container

master
Meliurwen 8 months ago
parent 6fc6b5cce8
commit 44b1864b09
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 8
      docker-compose.yml
  2. 2
      kiwiirc/Dockerfile
  3. 4
      znc/Dockerfile
  4. 2
      znc/root/etc/s6-overlay/s6-rc.d/svc-znc/run

@ -57,7 +57,7 @@ services:
context: kiwiirc/ context: kiwiirc/
args: args:
- BLD_IMG=${KI_BLD_IMG:-node} - BLD_IMG=${KI_BLD_IMG:-node}
- BLD_TAG=${KI_BLD_TAG:-15-alpine} - BLD_TAG=${KI_BLD_TAG:-19-alpine}
- BLD_REPO=${KI_BLD_REPO:-https://github.com/kiwiirc/kiwiirc.git} - BLD_REPO=${KI_BLD_REPO:-https://github.com/kiwiirc/kiwiirc.git}
- BLD_VER=${KI_BLD_VER:-master} - BLD_VER=${KI_BLD_VER:-master}
- FNL_IMG=${KI_FNL_IMG:-nginx} - FNL_IMG=${KI_FNL_IMG:-nginx}
@ -74,10 +74,10 @@ services:
environment: environment:
- TZ=${TZ} - TZ=${TZ}
networks: networks:
default: default:
internal: true internal: true
znc-internet: znc-internet:
main-webservices: main-webservices:
external: external: true
name: ${NETWORK} name: ${NETWORK}

@ -1,7 +1,7 @@
# If you are wondering why the default args are set in the Dockerfile and in the # If you are wondering why the default args are set in the Dockerfile and in the
# docker-compose.yml see this: https://github.com/docker/compose/issues/3608 # docker-compose.yml see this: https://github.com/docker/compose/issues/3608
ARG BLD_IMG=${BLD_IMG:-node} ARG BLD_IMG=${BLD_IMG:-node}
ARG BLD_TAG=${BLD_TAG:-15-alpine} ARG BLD_TAG=${BLD_TAG:-19-alpine}
ARG BLD_REPO=${BLD_REPO:-https://github.com/kiwiirc/kiwiirc.git} ARG BLD_REPO=${BLD_REPO:-https://github.com/kiwiirc/kiwiirc.git}
ARG BLD_VER=${BLD_VER:-master} ARG BLD_VER=${BLD_VER:-master}
ARG FNL_IMG=${FNL_IMG:-nginx} ARG FNL_IMG=${FNL_IMG:-nginx}

@ -7,10 +7,10 @@ FROM linuxserver/znc:latest
# So we need to compile it for ourserlves # So we need to compile it for ourserlves
RUN wget https://raw.githubusercontent.com/znc/znc/8d309bbb3dc6bef558a2ffe4f523a0467dda8057/modules/q.cpp && \ RUN wget https://raw.githubusercontent.com/znc/znc/8d309bbb3dc6bef558a2ffe4f523a0467dda8057/modules/q.cpp && \
apk add --no-cache g++ openssl-dev icu-dev tcl-dev && \ apk add --no-cache g++ openssl-dev icu-dev tcl-dev python3 make cmake && \
znc-buildmod q.cpp && \ znc-buildmod q.cpp && \
rm q.cpp && \ rm q.cpp && \
mv q.so /usr/lib/znc/q.so mv q.so /usr/local/lib/znc/q.so
RUN apk add --no-cache \ RUN apk add --no-cache \
proxychains-ng proxychains-ng

@ -2,6 +2,6 @@
umask 022 umask 022
exec s6-setuidgid abc proxychains /usr/bin/znc \ exec s6-setuidgid abc proxychains /usr/local/bin/znc \
-d /config \ -d /config \
--foreground --foreground
Loading…
Cancel
Save