Skip to content

Commit 0ff4aab

Browse files
committed
add empty measurements file to docker image
1 parent feca0d1 commit 0ff4aab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

proxy-server.dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 GOOS=linux \
1313
-v \
1414
-o proxy-server \
1515
cmd/proxy-server/main.go
16+
RUN echo "{\"azure-tdx\": {}}" > /build/measurements-empty.json
1617

1718
FROM alpine:latest
1819
WORKDIR /app
1920
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
2021
COPY --from=builder /build/proxy-server /app/proxy-server
22+
COPY --from=builder /build/measurements-empty.json /app/measurements-empty.json
2123
ENV LISTEN_ADDR=":8080"
2224
EXPOSE 8080
2325
CMD ["/app/proxy-server"]

0 commit comments

Comments
 (0)