Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/firstandthird/docker-builder
Build a docker image from a github repo
https://github.com/firstandthird/docker-builder
Last synced: 3 days 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-18T09:36:17.000Z (almost 4 years ago)
- Last Synced: 2024-04-08T15:13:11.735Z (10 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