Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding docker build support to studios #220

Merged
merged 1 commit into from
Feb 18, 2016
Merged

Conversation

adamhjk
Copy link
Contributor

@adamhjk adamhjk commented Feb 18, 2016

gif-keyboard-3439039113249482715

  • Adds a new 'baseimage' studio type, for making a docker base image
    from a package
  • A 'dockerize' command that does the needful of building your studio, then running docker build.
  • Supports building arbitrary docker containers from arbitrary package
    lists

The new path for getting a docker container is something like:

$ studio enter
$ build plan/redis
$ dockerize chef/redis

You can also just dockerize any-old package in the depot. Works as long
as you have a docker socket handy.

Next up is figuring out why we have some strange behavior coming out of
bldr-build, and removing the docker features from it entirely. Yay
smaller tools!

* Adds a new 'baseimage' studio type, for making a docker base image
  from a package
* A 'dockerize' command that does the needful of building your studio, then running `docker build`.
* Supports building arbitrary docker containers from arbitrary package
  lists

The new path for getting a docker container is something like:

```bash
$ studio enter
$ build plan/redis
$ dockerize chef/redis
```

You can also just dockerize any-old package in the depot. Works as long
as you have a docker socket handy.

Next up is figuring out why we have some strange behavior coming out of
bldr-build, and removing the docker features from it entirely. Yay
smaller tools!
@chef-delivery
Copy link
Contributor

This PR has passed 'Verify' and is ready for review and approval!
Use: '@delivery approve' when code review is complete.

@reset
Copy link
Collaborator

reset commented Feb 18, 2016

Sweet bash magic

gif-keyboard-6329082729284319389

@delivery approve

chef-delivery added a commit that referenced this pull request Feb 18, 2016
Merged change 5b2efefa-ec9b-461b-8fde-5660bb889c21

From review branch docker-builds into master

Signed-off-by: reset <[email protected]>
@chef-delivery chef-delivery merged commit b72e74b into master Feb 18, 2016
@chef-delivery chef-delivery deleted the docker-builds branch February 18, 2016 09:21
@chef-delivery
Copy link
Contributor

This PR has passed 'Acceptance' and is ready to be delivered!
Use: '@delivery deliver' when validated in acceptance.

@@ -1,4 +1,5 @@
set -eu
BLDR_REPO=${BLDR_REPO:-"http://52.11.158.96:32768"}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha, this is a good move

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants