diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-29 15:23:15 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-30 20:23:12 +0100 |
commit | dce2b495b931f82fbb8d1ff71ef661d77817307c (patch) | |
tree | 4783784b98ffe1602d668eed37bf634737acded5 /Makefile | |
parent | b77dec0049ea1d23fc75e73866f2bdf305ad3433 (diff) |
Some tidying
Configured to run dlv in the container
See https://golangforall.com/en/post/go-docker-delve-remote-debug.html
Haven't actually go the interactive dlv working - need to explore docker
attach to do that, maybe.
Slimmed down image in play
- Also adds a new make rule to run debug container
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4,6 +4,9 @@ build: run-container: @docker run -it --rm -p 4000:4000 dbasik:latest +debug: + @docker compose -f ./debug/dockerfile-debug up + run: @docker compose up -d |