This commit is contained in:
HoraceZhang 2024-10-18 09:14:07 +08:00 committed by GitHub
parent bdb29e244c
commit a1109b53b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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