File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1- FROM golang:1.15-alpine as builder
2-
1+ FROM golang:1.17-alpine as builder
32WORKDIR /tmp
43
54RUN apk add --no-cache make gcc musl-dev linux-headers git
6- RUN git clone --depth 1 --branch release/1.1.1-rc.2 https://github.com/Fantom-foundation/go-opera.git && \
5+ RUN go clean -modcache
6+ RUN git clone --depth 1 --branch release/1.1.3-rc.3 https://github.com/Fantom-foundation/go-opera.git && \
77 cd go-opera && \
88 make
99
10- FROM golang:1.15 -alpine
10+ FROM golang:1.17 -alpine
1111
1212WORKDIR /root/.opera
1313
1414COPY --from=builder /tmp/go-opera/build /usr/local/bin
1515
16- ADD https://opera.fantom.network/mainnet.g /opt/genesis/
17- ADD https://opera.fantom.network/testnet.g /opt/genesis/
16+ RUN mkdir /opt/genesis
17+ RUN wget -O /opt/genesis/mainnet.g https://opera.fantom.network/mainnet.g
18+ RUN wget -O /opt/genesis/testnet.g https://opera.fantom.network/testnet.g
1819
1920ENTRYPOINT ["opera" ]
You can’t perform that action at this time.
0 commit comments