From 82fc6c2e5b3a9904b880e27c938dfaa5569bcd9a Mon Sep 17 00:00:00 2001 From: Abdul Rabbani Date: Wed, 15 Jun 2022 10:44:16 -0400 Subject: [PATCH] Update packages for dockerfile --- .gitignore | 1 + Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2b8aeee..93cec94 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ pkg/beaconclient/ssz-data/ ipld-eth-beacon-indexer.log ipld-eth-beacon-indexer config/local.ipld-eth-beacon-indexer-config.json +config/docker.ipld-eth-beacon-indexer-config.json diff --git a/Dockerfile b/Dockerfile index 6425eb3..e467f7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.18-alpine as builder WORKDIR /go/src/github.com/vulcanize/ipld-eth-beacon-indexer -RUN apk --no-cache add ca-certificates make git g++ linux-headers +RUN apk --no-cache add ca-certificates make git g++ linux-headers libstdc++ ENV GO111MODULE=on COPY go.mod . @@ -13,7 +13,7 @@ RUN GCO_ENABLED=0 GOOS=linux go build -race -ldflags="-s -w" -o ipld-eth-beacon- RUN chmod +x ipld-eth-beacon-indexer FROM frolvlad/alpine-bash:latest -RUN apk --no-cache add ca-certificates +RUN apk --no-cache add ca-certificates libstdc++ WORKDIR /root/ COPY --from=builder /go/src/github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer /root/ipld-eth-beacon-indexer ADD entrypoint.sh .