Skip to content

Commit cca7667

Browse files
authored
Merge pull request #47 from binance-chain/golang1.15.5
[R4R]upgrade to golang1.15.5
2 parents 1a50838 + 935c9e3 commit cca7667

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## v1.0.4
4+
5+
IMPROVEMENT
6+
* [\#47](https://github.com/binance-chain/bsc/pull/47) upgrade to golang1.15.5
7+
38
## v1.0.3
49

510
IMPROVEMENT

Dockerfile

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
# Build Geth in a stock Go builder container
2-
FROM golang:1.14-alpine as builder
1+
FROM golang:1.15-alpine as builder
32

4-
RUN apk add --no-cache make gcc musl-dev linux-headers git
3+
RUN apk add --no-cache make gcc musl-dev linux-headers git bash
4+
5+
# Temporarily pull a custom Go bundle
6+
ADD https://golang.org/dl/go1.15.5.src.tar.gz /tmp/go.tar.gz
7+
RUN (cd /tmp && tar -xf go.tar.gz)
8+
RUN (cd /tmp/go/src && ./make.bash)
9+
ENV PATH="/tmp/go/bin:${PATH}"
510

611
ADD . /go-ethereum
712
RUN cd /go-ethereum && make geth
@@ -13,4 +18,4 @@ RUN apk add --no-cache ca-certificates
1318
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
1419

1520
EXPOSE 8545 8546 8547 30303 30303/udp
16-
ENTRYPOINT ["geth"]
21+
ENTRYPOINT ["geth"]

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/ethereum/go-ethereum
22

3-
go 1.13
3+
go 1.15
44

55
require (
66
github.com/Azure/azure-pipeline-go v0.2.2 // indirect

params/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
const (
2424
VersionMajor = 1 // Major version component of the current release
2525
VersionMinor = 0 // Minor version component of the current release
26-
VersionPatch = 3 // Patch version component of the current release
26+
VersionPatch = 4 // Patch version component of the current release
2727
VersionMeta = "" // Version metadata to append to the version string
2828
)
2929

0 commit comments

Comments
 (0)