Added build services within docker compose

This commit is contained in:
Alvin Moore 2019-02-01 07:08:03 -08:00 committed by Alex Miller
parent 5cd2338dae
commit 842872e3de
1 changed files with 32 additions and 11 deletions

View File

@ -13,25 +13,46 @@ services:
volumes:
- ..:/foundationdb
working_dir: /foundationdb
environment:
- MAKEJOBS=1
release-setup: &release-setup
<<: *build-setup
environment:
- MAKEJOBS=1
- RELEASE=true
snapshot-setup: &snapshot-setup
<<: *build-setup
build-docs:
<<: *build-setup
command: make docpackage
command: bash -c 'make -j "$${MAKEJOBS}" docpackage'
build-release: &build-release
release-packages: &release-packages
<<: *release-setup
command: bash -c 'make -j "$${MAKEJOBS}" packages'
snapshot-packages: &snapshot-packages
<<: *build-setup
environment:
- RELEASE=true
command: make packages
command: bash -c 'make -j "$${MAKEJOBS}" packages'
build-snapshot: &build-snapshot
prb-packages:
<<: *snapshot-packages
release-bindings: &release-bindings
<<: *release-setup
command: bash -c 'make -j "$${MAKEJOBS}" bindings'
snapshot-bindings: &snapshot-bindings
<<: *build-setup
environment:
- RELEASE=false
command: make packages
command: bash -c 'make -j "$${MAKEJOBS}" bindings'
prb-bindings:
<<: *snapshot-bindings
build-prb:
<<: *build-snapshot
shell:
<<: *build-setup