mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
Fix Docker
This commit is contained in:
parent
b68b28e189
commit
5e5c857821
@ -36,6 +36,14 @@ RUN mkdir -p /ircd-bin
|
||||
COPY --from=build-env /go/bin/oragono /ircd-bin
|
||||
COPY --from=build-env /go/src/github.com/oragono/oragono/languages /ircd-bin/languages/
|
||||
COPY --from=build-env /go/src/github.com/oragono/oragono/oragono.yaml /ircd-bin/oragono.yaml
|
||||
|
||||
# modify default config file so that it doesn't die on IPv6
|
||||
# and so it can be exposed via 6667 by default
|
||||
RUN apk add --no-cache python3
|
||||
RUN apk add --no-cache jq
|
||||
RUN pip3 install yq
|
||||
RUN yq -iy 'del(.server.listeners."[::1]:6667") | del(.server.listeners."127.0.0.1:6667") | .server.listeners += {":6667": {}}' /ircd-bin/oragono.yaml
|
||||
|
||||
COPY distrib/docker/run.sh /ircd-bin/run.sh
|
||||
RUN chmod +x /ircd-bin/run.sh
|
||||
|
Loading…
Reference in New Issue
Block a user