Browse Source

Update dockerfile after build process changes

Fixes #13
pull/14/head
Chris Smith 5 years ago
parent
commit
6fcfd04f52
1 changed files with 2 additions and 11 deletions
  1. 2
    11
      Dockerfile

+ 2
- 11
Dockerfile View File

3
 
3
 
4
 RUN apk add --no-cache git make curl
4
 RUN apk add --no-cache git make curl
5
 
5
 
6
-# install goreleaser
7
-RUN mkdir -p /go/src/github.com/goreleaser
8
-WORKDIR /go/src/github.com/goreleaser
9
-
10
-RUN git clone https://github.com/goreleaser/goreleaser.git
11
-WORKDIR /go/src/github.com/goreleaser/goreleaser
12
-RUN make setup build
13
-RUN cp ./goreleaser /usr/bin
14
-
15
 # get oragono
6
 # get oragono
16
 RUN mkdir -p /go/src/github.com/oragono
7
 RUN mkdir -p /go/src/github.com/oragono
17
 WORKDIR /go/src/github.com/oragono
8
 WORKDIR /go/src/github.com/oragono
20
 WORKDIR /go/src/github.com/oragono/oragono
11
 WORKDIR /go/src/github.com/oragono/oragono
21
 
12
 
22
 # compile
13
 # compile
23
-RUN make build
14
+RUN make
24
 
15
 
25
 
16
 
26
 
17
 
41
 
32
 
42
 # oragono itself
33
 # oragono itself
43
 RUN mkdir -p /ircd-bin
34
 RUN mkdir -p /ircd-bin
44
-COPY --from=build-env /go/src/github.com/oragono/oragono/dist/linux_amd64/oragono /ircd-bin
35
+COPY --from=build-env /go/bin/oragono /ircd-bin
45
 COPY --from=build-env /go/src/github.com/oragono/oragono/languages /ircd-bin/languages/
36
 COPY --from=build-env /go/src/github.com/oragono/oragono/languages /ircd-bin/languages/
46
 COPY --from=build-env /go/src/github.com/oragono/oragono/oragono.yaml /ircd-bin/oragono.yaml
37
 COPY --from=build-env /go/src/github.com/oragono/oragono/oragono.yaml /ircd-bin/oragono.yaml
47
 COPY run.sh /ircd-bin/run.sh
38
 COPY run.sh /ircd-bin/run.sh

Loading…
Cancel
Save