commit | 370426e48cb847492905873729625dd2cd6a8f54 | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Wed Aug 28 12:44:34 2019 -0700 |
committer | Jonas Larsson <ljonas@google.com> | Wed Aug 28 12:44:34 2019 -0700 |
tree | cc7cc1fc6043aeaca225e7372fc1021bd6467996 | |
parent | a7d14801a9c5387ecc70e105f975f0f78b8cebf4 [diff] |
Add debug-shell target Invoke with m docker-debug-shell This will drop you into a docker shell with the exact same config as used for building. Change-Id: I7bfb1460e1970078edc9fbe7c698504d87f82377
diff --git a/docker.mk b/docker.mk index 1669e7a..6cf6620 100644 --- a/docker.mk +++ b/docker.mk
@@ -93,6 +93,10 @@ @./hello @rm -f hello.c hello +# Open a docker shell ('m docker-debug-shell') +debug-shell: + bash + .DEFAULT_GOAL:=docker-all .MAKEFLAGS += --no-builtin-rules .SUFFIXES: