1
0
Fork 0

add: local build with docker

This commit is contained in:
camo-f 2019-10-31 11:05:01 +01:00 committed by Sean Sube
parent bd3aa736e4
commit 013b6b55b1
1 changed files with 10 additions and 0 deletions

View File

@ -112,6 +112,16 @@ After building, run with `node out/index.js` or install run as `salty-dog`:
ingress.extensions/gitlab created (dry run)
```
Build with Docker:
```
# Stretch
docker run --rm -v "$(pwd):/salty-dog" -w /salty-dog node:11-stretch make
docker build -t salty-dog:stretch -f Dockerfile.stretch .
# Alpine
docker run --rm -v "$(pwd):/salty-dog" -w /salty-dog node:11-alpine sh -c "apk add build-base && make"
docker build -t salty-dog:alpine -f Dockerfile.alpine .
```
## Install
### Docker