diff --git a/README.md b/README.md index 3f7e836..a3ff23f 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/run.mk b/run.mk index f658ead..1525a3e 100644 --- a/run.mk +++ b/run.mk @@ -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"