project: buildme default: build services: # Similar to composer mongodb: image: "mongo" tasks: build-multistage: dockerfile: docker/Dockerfile.multistage command: - GET /builder . build: dockerfile: docker/Dockerfile.builder command: - RUN make dist - RUN sh -c "echo test > t.txt" - GET /buildme/t.txt TEST - GET /buildme/dist.tar.gz TEST test: dockerfile: docker/Dockerfile.test services: [mongodb] command: - RUN sh -c "ping -c 2 8.8.8.8" - RUN sh -c "ping -c 2 $DBHOST" - RUN sh -c "echo $DBHOST" env: - DBHOST=mongodb hello: image: alpine command: - RUN echo "hello"