mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 06:46:14 +00:00
docker!
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# This docker-compose setup is intented for development, testing, and CI purposes.
|
||||
# -- Make changes with extreme caution!
|
||||
|
||||
# Note: CircleCI Docker runners don't support volumes.
|
||||
|
||||
version: "3.4"
|
||||
|
||||
# Services are meant to be interchangeble between running them locally or
|
||||
# inside a container. That is why all of them export their server port to the host.
|
||||
|
||||
# Images that are built here are the same used in production.
|
||||
services:
|
||||
core:
|
||||
image: kennethreitz/bake:core
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/core.Dockerfile
|
||||
|
||||
bake:
|
||||
image: kennethreitz/bake:${DOCKER_RELEASE:-latest}
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/bake.Dockerfile
|
||||
depends_on:
|
||||
- core
|
||||
volumes:
|
||||
- ./Bakefile:/app/Bakefile
|
||||
- .:/app
|
||||
Reference in New Issue
Block a user