Skip to content

Commit b5af4a2

Browse files
author
Egor Prytkov
authored
Merge pull request #12 from chainstack/feature/v1.1.3-rc.3
v1.1.3-rc.3
2 parents f465a6e + 4ed6a61 commit b5af4a2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
FROM golang:1.15-alpine as builder
2-
1+
FROM golang:1.17-alpine as builder
32
WORKDIR /tmp
43

54
RUN 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

1212
WORKDIR /root/.opera
1313

1414
COPY --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

1920
ENTRYPOINT ["opera"]

0 commit comments

Comments
 (0)