1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00
external-secrets/tilt.debug.dockerfile
Gergely Brautigam 0bbfb1b954
feat: introduce tilt into the development process (#2966)
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
2023-12-21 22:58:31 +01:00

12 lines
427 B
Docker

FROM golang:1.20.1
WORKDIR /
COPY ./bin/external-secrets /external-secrets
RUN go install github.com/go-delve/delve/cmd/dlv@latest
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", "--"]