Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctzombie committed Oct 22, 2014
1 parent 5ff7fd3 commit b2c35bb
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
# docker-build
# docket

Build docker images with secrets. Use it just like the `docker build` command.

## install

```
pip install git+git://github.com/defunctzombie/docker-build.git
```

## Use

Put some files into `$HOME/.docker/private`. They will be available during the build process.

Use docket like you would use `docker build`

```shell
docker-build -t foobar <path/to/build/root>
```

Will source any files in `$HOME/.docker/private` into the image build context before building the Dockerfile and then remove the private files completely from the final image history. They will not appear in any previous layer of the image.
## Private Files

Any files in `$HOME/.docker/private` will be available during the build process. The folder structure under this directory will mirror the folder structure under `/` in the container.

These private files will not appear in any layer of the final image.

0 comments on commit b2c35bb

Please sign in to comment.