Skip to content

Commit 4748248

Browse files
authored
Merge pull request #32 from maticnetwork/docker-fix
fix docker files to use bor instead of geth
2 parents c69ad13 + 0e4aa14 commit 4748248

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Build Geth in a stock Go builder container
1+
# Build Bor in a stock Go builder container
22
FROM golang:1.12-alpine as builder
33

44
RUN apk add --no-cache make gcc musl-dev linux-headers git
55

6-
ADD . /go-ethereum
7-
RUN cd /go-ethereum && make geth
6+
ADD . /bor
7+
RUN cd /bor && make bor
88

9-
# Pull Geth into a second stage deploy alpine container
9+
# Pull Bor into a second stage deploy alpine container
1010
FROM alpine:latest
1111

1212
RUN apk add --no-cache ca-certificates
13-
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
13+
COPY --from=builder /bor/build/bin/bor /usr/local/bin/
1414

1515
EXPOSE 8545 8546 30303 30303/udp

Dockerfile.alltools

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Build Geth in a stock Go builder container
1+
# Build Bor in a stock Go builder container
22
FROM golang:1.12-alpine as builder
33

44
RUN apk add --no-cache make gcc musl-dev linux-headers git
55

6-
ADD . /go-ethereum
7-
RUN cd /go-ethereum && make all
6+
ADD . /bor
7+
RUN cd /bor && make all
88

99
# Pull all binaries into a second stage deploy alpine container
1010
FROM alpine:latest
1111

1212
RUN apk add --no-cache ca-certificates
13-
COPY --from=builder /go-ethereum/build/bin/* /usr/local/bin/
13+
COPY --from=builder /bor/build/bin/* /usr/local/bin/
1414

1515
EXPOSE 8545 8546 30303 30303/udp

0 commit comments

Comments
 (0)