Add remote debugging support to fixturenet-geth. #113

Merged
telackey merged 3 commits from telackey/dbg into main 2023-01-11 18:54:22 +00:00
Showing only changes of commit ecc0cb2002 - Show all commits

View File

@ -1,5 +1,6 @@
FROM skylenet/ethereum-genesis-generator@sha256:210353ce7c898686bc5092f16c61220a76d357f51eff9c451e9ad1b9ad03d4d3 AS ethgen
# Using the same golang image as used to build geth: https://github.com/cerc-io/go-ethereum/blob/HEAD/Dockerfile
FROM golang:1.18-alpine as delve
Review

Not important for this builder base image, but if possible we would like to standardize on Ubuntu base images, not alpine.

Not important for this builder base image, but if possible we would like to standardize on Ubuntu base images, not alpine.
Review

I was deliberately matching it to the version used to build geth: https://github.com/cerc-io/go-ethereum/blob/v1.10.26-statediff-v4/Dockerfile#L7

I was afraid of running into glibc / musl issues if they didn't match.

I was deliberately matching it to the version used to build geth: https://github.com/cerc-io/go-ethereum/blob/v1.10.26-statediff-v4/Dockerfile#L7 I was afraid of running into glibc / musl issues if they didn't match.
Review

Let me add a comment....

Let me add a comment....
RUN go install github.com/go-delve/delve/cmd/dlv@latest