|
@@ -36,6 +36,14 @@ RUN mkdir -p /ircd-bin
|
36
|
36
|
COPY --from=build-env /go/bin/oragono /ircd-bin
|
37
|
37
|
COPY --from=build-env /go/src/github.com/oragono/oragono/languages /ircd-bin/languages/
|
38
|
38
|
COPY --from=build-env /go/src/github.com/oragono/oragono/oragono.yaml /ircd-bin/oragono.yaml
|
|
39
|
+
|
|
40
|
+# modify default config file so that it doesn't die on IPv6
|
|
41
|
+# and so it can be exposed via 6667 by default
|
|
42
|
+RUN apk add --no-cache python3
|
|
43
|
+RUN apk add --no-cache jq
|
|
44
|
+RUN pip3 install yq
|
|
45
|
+RUN yq -iy 'del(.server.listeners."[::1]:6667") | del(.server.listeners."127.0.0.1:6667") | .server.listeners += {":6667": {}}' /ircd-bin/oragono.yaml
|
|
46
|
+
|
39
|
47
|
COPY distrib/docker/run.sh /ircd-bin/run.sh
|
40
|
48
|
RUN chmod +x /ircd-bin/run.sh
|
41
|
49
|
|