aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-05-29 15:23:15 +0100
committerMatthew Lemon <y@yulqen.org>2024-05-30 20:23:12 +0100
commitdce2b495b931f82fbb8d1ff71ef661d77817307c (patch)
tree4783784b98ffe1602d668eed37bf634737acded5 /Makefile
parentb77dec0049ea1d23fc75e73866f2bdf305ad3433 (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--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1821068..9aa00bf 100644
--- a/Makefile
+++ b/Makefile
@@ -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