Added support for building snapshot, release, and documentation packages via docker compose
This commit is contained in:
parent
ecace6f7d2
commit
30d6f80aeb
|
@ -0,0 +1,43 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
common: &common
|
||||
image: foundationdb-build:0.0.6
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
||||
build-setup: &build-setup
|
||||
<<: *common
|
||||
depends_on: [common]
|
||||
volumes:
|
||||
- ..:/foundationdb
|
||||
working_dir: /foundationdb
|
||||
|
||||
build-docs:
|
||||
<<: *build-setup
|
||||
environment:
|
||||
- RELEASE=false
|
||||
command: /bin/bash -cl 'make clean && make docpackage'
|
||||
|
||||
build-release: &build-release
|
||||
<<: *build-setup
|
||||
environment:
|
||||
- RELEASE=true
|
||||
command: /bin/bash -cl 'make && make packages'
|
||||
|
||||
build-snapshot: &build-snapshot
|
||||
<<: *build-setup
|
||||
environment:
|
||||
- RELEASE=false
|
||||
command: /bin/bash -cl 'make && make packages'
|
||||
|
||||
build-prb:
|
||||
<<: *build-snapshot
|
||||
|
||||
shell:
|
||||
<<: *build-setup
|
||||
volumes:
|
||||
- ..:/foundationdb
|
||||
- ~/.m2:/root/.m2
|
||||
entrypoint: /bin/bash
|
Loading…
Reference in New Issue