From 55da07d6556d8e5256c9cdc65562661cc0e584f1 Mon Sep 17 00:00:00 2001 From: share2kanna Date: Fri, 3 May 2024 23:12:53 +0530 Subject: [PATCH] Added empty cert files for using dynamicallY --- dockerfiles/agent/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dockerfiles/agent/Dockerfile b/dockerfiles/agent/Dockerfile index 5aedf2c1..8a18b5f9 100644 --- a/dockerfiles/agent/Dockerfile +++ b/dockerfiles/agent/Dockerfile @@ -5,9 +5,13 @@ RUN rm -rf vendor RUN go mod download RUN CGO_ENABLED=0 go build -o ./build/agent agent/cmd/main.go +RUN touch ./server.cert +RUN touch ./server.key FROM scratch COPY --from=builder ./build/agent agent +COPY --from=builder ./server.cert server.cert +COPY --from=builder ./server.key server.key COPY ./capten/database/cassandra/ cassandra/ USER 65532:65532