From 2794c9e94c48277c01281d535fd88c3cfa2639c0 Mon Sep 17 00:00:00 2001 From: Chris Hager Date: Mon, 18 Nov 2024 14:38:23 +0100 Subject: [PATCH] cleanup --- multimeasurements/multimeasurements.go | 4 ++-- proxy-server.dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/multimeasurements/multimeasurements.go b/multimeasurements/multimeasurements.go index 28ab9df..ad7f348 100644 --- a/multimeasurements/multimeasurements.go +++ b/multimeasurements/multimeasurements.go @@ -16,8 +16,8 @@ import ( "github.com/flashbots/cvm-reverse-proxy/internal/attestation/measurements" ) -// MultiMeasurements is holds several known measurements, and can check if a -// given measurements matches a known one. +// MultiMeasurements holds several known measurements, and can check if +// given measurements match known ones. type MultiMeasurements struct { Measurements []MeasurementsContainer } diff --git a/proxy-server.dockerfile b/proxy-server.dockerfile index 771a699..a2d93fc 100644 --- a/proxy-server.dockerfile +++ b/proxy-server.dockerfile @@ -18,7 +18,7 @@ FROM alpine:latest WORKDIR /app COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=builder /build/proxy-server /app/proxy-server -RUN echo "{\"azure-tdx\": {}}" > /app/measurements-empty.json +RUN echo "[{}]" > /app/measurements-empty.json ENV LISTEN_ADDR=":8080" EXPOSE 8080 CMD ["/app/proxy-server"]