mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 15:46:43 +00:00
* dev: chg: pos-1605: fix govulns by bumping golang version and replacing mongodb version * dev: chg: pos-1605: update some dependencies to solve dependabot vulns * dev: chg: update linter for compatibility with upgraded go version * dev: chg: update go version in golangci lintere * dev: chg: update go version in ci workflow, docker and travis * dev: chg: change govulncheck version to a stable fixed one * dev: chg: fix govulncheck version * dev: chg: remove vulncheck version * dev: chg: adapt tests based on go-ethereum for go version upgrade * dev: chg: use explicit go version for templum action * dev: chg: fix lint * dev: chg: fix lint * dev: chg: 1.20.x explicitly in packager * dev: chg: ignore some additional leak to be fixed * dev: chg: ignore some additional leak to be fixed * dev: chg: fix lint
18 lines
454 B
Docker
18 lines
454 B
Docker
# Build Geth in a stock Go builder container
|
|
FROM golang:1.20.5-alpine as builder
|
|
|
|
RUN apk add --no-cache make gcc musl-dev linux-headers git
|
|
|
|
ADD . /bor
|
|
RUN cd /bor && make bor-all
|
|
|
|
# Pull all binaries into a second stage deploy alpine container
|
|
FROM alpine:latest
|
|
|
|
RUN set -x \
|
|
&& apk add --update --no-cache \
|
|
ca-certificates \
|
|
&& rm -rf /var/cache/apk/*
|
|
COPY --from=builder /bor/build/bin/* /usr/bin/
|
|
|
|
EXPOSE 8545 8546 30303 30303/udp
|