FROM golang:1.23.3@sha256:73f06be4578c9987ce560087e2e2ea6485fb605e3910542cadd8fa09fc5f3e31 WORKDIR / COPY ./bin/external-secrets /external-secrets RUN go install github.com/go-delve/delve/cmd/dlv@v1.22.0 RUN chmod +x /go/bin/dlv RUN mv /go/bin/dlv / EXPOSE 30000 # dlv --listen=:30000 --api-version=2 --headless=true exec /app/build/api ENTRYPOINT ["/dlv", "--listen=:30000", "--api-version=2", "--headless=true", "--continue=true", "--accept-multiclient=true", "exec", "/external-secrets", "--"]