makeusabrew / decking

A Docker helper to create, manage and run clusters of containers
http://decking.io
443 stars 36 forks source link

TLS support for boot2docker 1.3.0 and support for include pattern for tar used as docker context #68

Closed ahmedomarjee closed 10 years ago

ahmedomarjee commented 10 years ago
ahmedomarjee commented 10 years ago

Needed to mention that this changes the decker.json format slightly to support the includes pattern.

With a little more effort we could probably support both styles.

So instead of:

{
    "images": {
        "decking/example-api": "./docker/api",
        "decking/example-admin": "./docker/admin",
        "decking/example-web": "./docker/web"
    },
.
.
.
}

we need to use:

{
    "images": {
        "decking/example-api": {
            dockerfile: "./docker/api",
            includes: ["dist"]
        }
        "decking/example-admin": {
            dockerfile: "./docker/admin"
        },
        "decking/example-web": {
            dockerfile: "./docker/web"
        },
    },
.
.
.
}
ahmedomarjee commented 10 years ago

There is a bug in the includes pattern, also added support for both old and new decking.json format.

Fixed in a later pull request.