Skip to content

Commit 33ab5ea

Browse files
committed
ircd: Upload the actual small copy of the image
1 parent 58ddf1d commit 33ab5ea

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

ircd/Dockerfile

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -59,46 +59,3 @@ COPY ircd.motd /ircd-bin/etc/ircd.motd
5959
# launch
6060
WORKDIR /ircd-bin
6161
ENTRYPOINT ["/ircd-bin/sbin/ircd", "-t"]
62-
63-
64-
65-
66-
67-
68-
69-
70-
71-
FROM alpine:3.9
72-
73-
RUN apk update
74-
RUN apk upgrade
75-
76-
WORKDIR /tmp
77-
RUN wget http://www.irc.org/ftp/irc/server/irc2.11.2p3.tgz
78-
RUN tar -xzf irc2.11.2p3.tgz
79-
80-
RUN apk add --no-cache build-base git
81-
82-
WORKDIR /tmp/irc2.11.2p3
83-
RUN ./configure --prefix=/ircd-bin
84-
# # IPv6 results in "No working P-line in ircd.conf" so we don't do it ¯\_(ツ)_/¯
85-
# RUN ./configure --enable-ipv6 --prefix=/ircd-bin
86-
87-
WORKDIR /tmp/irc2.11.2p3/ircd/
88-
COPY ircd-alpine.patch /tmp/ircd-alpine.patch
89-
RUN patch < /tmp/ircd-alpine.patch
90-
91-
# we use git here because the default patch is horrific
92-
WORKDIR /tmp/irc2.11.2p3/x86_64-unknown-linux-gnu
93-
COPY ircd-kline.patch /tmp/ircd-kline.patch
94-
RUN cp config.h config.h.old
95-
RUN git apply /tmp/ircd-kline.patch
96-
97-
RUN make all
98-
RUN make install
99-
100-
COPY ircd.conf /ircd-bin/etc/ircd.conf
101-
COPY ircd.motd /ircd-bin/etc/ircd.motd
102-
103-
WORKDIR /ircd-bin
104-
CMD /ircd-bin/sbin/ircd -t

0 commit comments

Comments
 (0)