diff --git a/Dockerfile b/Dockerfile index 879a31d..aeb0d2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,7 @@ FROM golang:1.22.4-bullseye as build WORKDIR /opt/node/ -COPY . . - -RUN apt-get update && apt-get install -y curl grep +RUN apt-get update && apt-get install -y curl grep ca-certificates RUN curl -o fetch.sh https://raw.githubusercontent.com/lushdog/quil-docker/refs/heads/main/fetch.sh && chmod +x fetch.sh && ./fetch.sh @@ -12,10 +10,13 @@ RUN chmod +x node RUN go install github.com/fullstorydev/grpcurl/cmd/grpcurl@v1.9.1 + FROM ubuntu:22.04 ENV GOEXPERIMENT=arenas +RUN apt-get update && apt-get install -y ca-certificates + COPY --from=build /opt/node/node /usr/local/bin COPY --from=build /opt/node/node.dgst /usr/local/bin COPY --from=build /opt/node/node.dgst.sig.* /usr/local/bin