Browse Source

Update Dockerfile to work with Ergo naming change

tags/v2.7.0-rc1
Daniel Oaks 2 years ago
parent
commit
cf33122f15
No account linked to committer's email address
1 changed files with 13 additions and 13 deletions
  1. 13
    13
      Dockerfile

+ 13
- 13
Dockerfile View File

@@ -1,29 +1,29 @@
1
-## build Oragono
1
+## build Ergo
2 2
 FROM golang:1.16-alpine AS build-env
3 3
 
4 4
 RUN apk add --no-cache git make curl sed
5 5
 
6
-# copy oragono
7
-RUN mkdir -p /go/src/github.com/oragono/oragono
8
-WORKDIR /go/src/github.com/oragono/oragono
9
-ADD . /go/src/github.com/oragono/oragono/
6
+# copy ergo
7
+RUN mkdir -p /go/src/github.com/ergochat/ergo
8
+WORKDIR /go/src/github.com/ergochat/ergo
9
+ADD . /go/src/github.com/ergochat/ergo/
10 10
 
11 11
 # modify default config file so that it doesn't die on IPv6
12 12
 # and so it can be exposed via 6667 by default
13
-run sed -i 's/^\(\s*\)\"127.0.0.1:6667\":.*$/\1":6667":/' /go/src/github.com/oragono/oragono/default.yaml
14
-run sed -i 's/^\s*\"\[::1\]:6667\":.*$//' /go/src/github.com/oragono/oragono/default.yaml
13
+run sed -i 's/^\(\s*\)\"127.0.0.1:6667\":.*$/\1":6667":/' /go/src/github.com/ergochat/ergo/default.yaml
14
+run sed -i 's/^\s*\"\[::1\]:6667\":.*$//' /go/src/github.com/ergochat/ergo/default.yaml
15 15
 
16 16
 # compile
17 17
 RUN make
18 18
 
19 19
 
20 20
 
21
-## run Oragono
21
+## run Ergo
22 22
 FROM alpine:3.9
23 23
 
24 24
 # metadata
25 25
 LABEL maintainer="daniel@danieloaks.net"
26
-LABEL description="Oragono is a modern, experimental IRC server written in Go"
26
+LABEL description="Ergo is a modern, experimental IRC server written in Go"
27 27
 
28 28
 # install latest updates and configure alpine
29 29
 RUN apk update
@@ -35,9 +35,9 @@ EXPOSE 6667/tcp 6697/tcp
35 35
 
36 36
 # oragono itself
37 37
 RUN mkdir -p /ircd-bin
38
-COPY --from=build-env /go/bin/oragono /ircd-bin
39
-COPY --from=build-env /go/src/github.com/oragono/oragono/languages /ircd-bin/languages/
40
-COPY --from=build-env /go/src/github.com/oragono/oragono/default.yaml /ircd-bin/default.yaml
38
+COPY --from=build-env /go/bin/ergo /ircd-bin
39
+COPY --from=build-env /go/src/github.com/ergochat/ergo/languages /ircd-bin/languages/
40
+COPY --from=build-env /go/src/github.com/ergochat/ergo/default.yaml /ircd-bin/default.yaml
41 41
 
42 42
 COPY distrib/docker/run.sh /ircd-bin/run.sh
43 43
 RUN chmod +x /ircd-bin/run.sh
@@ -47,7 +47,7 @@ VOLUME /ircd
47 47
 WORKDIR /ircd
48 48
 
49 49
 # default motd
50
-COPY --from=build-env /go/src/github.com/oragono/oragono/oragono.motd /ircd/oragono.motd
50
+COPY --from=build-env /go/src/github.com/ergochat/ergo/ergo.motd /ircd/ergo.motd
51 51
 
52 52
 # launch
53 53
 ENTRYPOINT ["/ircd-bin/run.sh"]

Loading…
Cancel
Save