This commit is contained in:
shoopea 2025-05-04 13:51:55 +02:00
parent ac7b5b4d2e
commit 6d890a970d

View File

@ -11,15 +11,16 @@ COPY ./config.settings /tmp/config.settings
WORKDIR /usr/src/ircd WORKDIR /usr/src/ircd
RUN set -x \ RUN set -x \
&& apt-get install ${PKG} \ && apt-get install ${PKG}
&& wget -O /tmp/unrealircd https://www.unrealircd.org/downloads/unrealircd-${VER}.tar.gz \
&& tar xvfz /tmp/unrealircd \ # && wget -O /tmp/unrealircd https://www.unrealircd.org/downloads/unrealircd-${VER}.tar.gz \
&& cd ./unrealircd-${VER}/ \ # && tar xvfz /tmp/unrealircd \
&& cp /tmp/config.settings /usr/src/ircd/unrealircd-${VER}/config.settings \ # && cd ./unrealircd-${VER}/ \
&& ./Config -quick \ # && cp /tmp/config.settings /usr/src/ircd/unrealircd-${VER}/config.settings \
&& make -j$(nproc) && make install \ # && ./Config -quick \
&& rm -rf /usr/src/ircd \ # && make -j$(nproc) && make install \
&& addgroup -S unreal && adduser -u ${UID} -S unreal -G unreal # && rm -rf /usr/src/ircd \
# && addgroup -S unreal && adduser -u ${UID} -S unreal -G unreal
WORKDIR /ircd WORKDIR /ircd
RUN set -x \ RUN set -x \