https://github.com/zabot/icbind
A wrapper for docker-build that creates a temporary build context using Dockerfile annotations
https://github.com/zabot/icbind
docker dockerfile
Last synced: 11 months ago
JSON representation
A wrapper for docker-build that creates a temporary build context using Dockerfile annotations
- Host: GitHub
- URL: https://github.com/zabot/icbind
- Owner: Zabot
- License: gpl-3.0
- Created: 2020-07-22T19:41:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-31T22:21:41.000Z (about 5 years ago)
- Last Synced: 2025-01-25T09:42:18.635Z (about 1 year ago)
- Topics: docker, dockerfile
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# I Can't Belive its not Docker
I can't belive its not Docker adds annotations to docker files that allow
features not possible with docker alone.
## Features
### Including directories not in the build context
Add a `#include ` to a dockerfile
to include the referenced directory in the build context at build time. The
included directory _does not_ have to be inside the main build context, it is
copied into the build context at build time
### Running scripts on the host machine prior to a build
Add `#run ` to run a script on the host machine in the build context
before executing the dockerfile
### Flags
Add `#flags ` to provide modifiers to icbind. Supported flags
are:
* `nocontext` -- Don't automatically copy the path into the build directory.