joschi36 commented on pull request #25: URL: https://github.com/apache/cloudstack-kubernetes-provider/pull/25#issuecomment-823066822
Hi @davidjumani I just created the container from scratch, but when starting it fails at creating a self-signed cert. Maybe you have an idea? ``` I0420 07:54:23.313921 1 serving.go:319] Generated self-signed cert in-memory open /tmp/client-ca-file159816038: no such file or directory ``` **Dockerfile:** ```dockerfile FROM golang:1.13 as builder COPY . /go/src/github.com/apache/cloudstack-kubernetes-provider WORKDIR /go/src/github.com/apache/cloudstack-kubernetes-provider RUN apt-get update && apt-get install -y locales ca-certificates RUN make clean && CGO_ENABLED=0 GOOS=linux make FROM scratch COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ USER 1000 COPY --from=builder /go/src/github.com/apache/cloudstack-kubernetes-provider/cloudstack-ccm /app/cloudstack-ccm ENTRYPOINT [ "/app/cloudstack-ccm", "--cloud-provider", "external-cloudstack" ] ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org