Merged in feature/debug-queryapi (pull request #170)
new compose and dockerfile * new compose and dockerfile * add task docker:build:debug * update readme * Merged main into feature/debug-queryapi
This commit is contained in:
@@ -26,3 +26,12 @@ tasks:
|
||||
-t {{.IMAGE_NAME}}:latest \
|
||||
-t {{.IMAGE_NAME}}:{{.GIT_VERSION}} \
|
||||
-f {{.DOCKERFILE}} .
|
||||
build:debug:
|
||||
run: once
|
||||
cmd: |
|
||||
# Build debug image with Delve debugger
|
||||
docker build \
|
||||
--build-arg "GIT_VERSION={{.GIT_VERSION}}" \
|
||||
--build-arg "GIT_COMMIT={{.GIT_COMMIT}}" \
|
||||
-t {{.IMAGE_NAME}}:debug \
|
||||
-f build/Dockerfile.debug .
|
||||
|
||||
Reference in New Issue
Block a user