Skip to content

Commit 1abf51a

Browse files
style: revert Dockerfile format (#296)
1 parent 60ced6c commit 1abf51a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,3 @@ profile.cov
4747
/dashboard/assets/package-lock.json
4848

4949
**/yarn-error.log
50-

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ ARG BUILDNUM=""
66
# Build Geth in a stock Go builder container
77
FROM golang:1.18-alpine as builder
88

9-
ENV GOPROXY https://proxy.golang.org,direct
9+
RUN apk add --no-cache gcc musl-dev linux-headers git
1010

1111
ADD . /go-ethereum
12-
RUN apk add --no-cache gcc musl-dev linux-headers git ca-certificates \
13-
&& cd /go-ethereum && go run build/ci.go install ./cmd/geth
12+
RUN cd /go-ethereum && go run build/ci.go install ./cmd/geth
1413

1514
# Pull Geth into a second stage deploy alpine container
1615
FROM alpine:latest
1716

17+
RUN apk add --no-cache ca-certificates
1818
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
1919

2020
EXPOSE 8545 8546 30303 30303/udp

0 commit comments

Comments
 (0)