Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement debug container #119

Open
benjaminbartels opened this issue May 29, 2022 · 0 comments
Open

Implement debug container #119

benjaminbartels opened this issue May 29, 2022 · 0 comments

Comments

@benjaminbartels
Copy link
Owner

benjaminbartels commented May 29, 2022

FROM golang:1.17 as debug

WORKDIR /go/src/github.com/benjaminbartels/zymurgauge

COPY . .

RUN go install github.com/go-delve/delve/cmd/dlv@latest

EXPOSE 8080 2345

CMD ["dlv", "debug", "github.com/benjaminbartels/zymurgauge/cmd/zym", "--listen=:2345", "--headless=true", "--api-version=2", "--log"]

@benjaminbartels benjaminbartels added this to Backlog in Zymurgauge via automation May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Zymurgauge
  
Backlog
Development

No branches or pull requests

1 participant