1
0
Fork 0

feat(build): add build-in-image targets to make

This commit is contained in:
ssube 2019-11-01 21:27:18 -05:00 committed by Sean Sube
parent d2156a5b23
commit f8059452bc
2 changed files with 7 additions and 1 deletions

View File

@ -117,7 +117,7 @@ ingress.extensions/gitlab created (dry run)
### Docker Build
This method does not require the usual dependencies to be installed locally, only `docker` itself.
This method does not require the usual dependencies to be installed, only `docker` itself.
Build with Docker:

6
run.mk
View File

@ -31,3 +31,9 @@ test-rules: build-bundle
--source $${file} \
--tag salty-dog > /dev/null || exit 1; \
done
local-alpine:
docker run --rm -v "$(shell pwd):/salty-dog" -w /salty-dog node:11-stretch make ci
local-stretch:
docker run --rm -v "$(shell pwd):/salty-dog" -w /salty-dog node:11-alpine sh -c "apk add build-base && make ci"