Skip to content

Commit

Permalink
Added empty cert files for using dynamicallY
Browse files Browse the repository at this point in the history
  • Loading branch information
share2kanna committed May 3, 2024
1 parent 6255396 commit 55da07d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dockerfiles/agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55da07d

Please sign in to comment.