https://github.com/firstandthird/docker-builder
Build a docker image from a github repo
https://github.com/firstandthird/docker-builder
Last synced: 4 months ago
JSON representation
Build a docker image from a github repo
- Host: GitHub
- URL: https://github.com/firstandthird/docker-builder
- Owner: firstandthird
- Created: 2017-01-12T17:48:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-18T09:36:17.000Z (over 4 years ago)
- Last Synced: 2025-03-04T09:40:22.259Z (4 months ago)
- Language: Shell
- Size: 53.7 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-builder
Build a docker image from a github repo# Usage
```sh
docker run \
--rm \
-e USER=[github user] \
-e REPO=[github repo] \
-e TOKEN=[github token - optional] \
-v /var/run/docker.sock:/var/run/docker.sock \
firstandthird/builder
```## Caching repos
You can pass in `-v /path/to/repos:/repos` so you can save some time cloning the repo every time