diff --git a/Dockerfile b/Dockerfile index 58cc868..a73f408 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM golang:1.23.0-bookworm AS build +FROM golang:1.23.3-bookworm AS build -ENV CGO_ENABLED=1 +ENV CGO_ENABLED=0 ARG BUILDPLATFORM ARG TARGETPLATFORM diff --git a/Makefile b/Makefile index b602fd6..ce9a057 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ BIN := eth-tracker BOOTSTRAP_BIN := eth-tracker-cache-bootstrap DB_FILE := tracker_db -BUILD_CONF := CGO_ENABLED=1 GOOS=linux GOARCH=amd64 +BUILD_CONF := CGO_ENABLED=0 GOOS=linux GOARCH=amd64 BUILD_COMMIT := $(shell git rev-parse --short HEAD 2> /dev/null) DEBUG := DEV=true diff --git a/go.mod b/go.mod index b5a37f2..0cff9df 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/grassrootseconomics/eth-tracker -go 1.23.0 +go 1.23.3 replace github.com/ethereum/go-ethereum => github.com/celo-org/op-geth v1.101408.1-0.20241003173630-fd593f27afa2