File tree Expand file tree Collapse file tree 1 file changed +0
-43
lines changed Expand file tree Collapse file tree 1 file changed +0
-43
lines changed Original file line number Diff line number Diff line change @@ -59,46 +59,3 @@ COPY ircd.motd /ircd-bin/etc/ircd.motd
59
59
# launch
60
60
WORKDIR /ircd-bin
61
61
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
You can’t perform that action at this time.
0 commit comments