mirror of
https://github.com/wealdtech/ethdo.git
synced 2026-01-10 06:28:07 -05:00
The alpine base image is using a musl glibc implementation, which is causing the binary to be not very stable. See https://github.com/godror/godror/issues/30 for details
19 lines
219 B
Docker
19 lines
219 B
Docker
FROM golang:1.14-buster as builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY go.mod go.sum ./
|
|
|
|
RUN go mod download
|
|
|
|
COPY . .
|
|
|
|
RUN go build
|
|
|
|
FROM debian:buster-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY --from=builder /app/ethdo /app
|
|
|
|
ENTRYPOINT ["/app/ethdo"] |