Commit e6151443 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #1199 from ethereum-optimism/fix/alpine-image

docker: pin to alpine 3.13 for l2geth
parents 7c5fde66 c3868f4c
# Build Geth in a stock Go builder container # Build Geth in a stock Go builder container
FROM golang:1.15-alpine as builder FROM golang:1.15-alpine3.13 as builder
RUN apk add --no-cache make gcc musl-dev linux-headers git RUN apk add --no-cache make gcc musl-dev linux-headers git
...@@ -7,7 +7,7 @@ ADD ./l2geth /go-ethereum ...@@ -7,7 +7,7 @@ ADD ./l2geth /go-ethereum
RUN cd /go-ethereum && make geth RUN cd /go-ethereum && make geth
# Pull Geth into a second stage deploy alpine container # Pull Geth into a second stage deploy alpine container
FROM alpine:latest FROM alpine:3.13
RUN apk add --no-cache ca-certificates jq curl RUN apk add --no-cache ca-certificates jq curl
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/ COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment