Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saulshanabrook/dib
https://github.com/saulshanabrook/dib
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/saulshanabrook/dib
- Owner: saulshanabrook
- Created: 2016-01-18T00:00:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-18T00:43:50.000Z (almost 9 years ago)
- Last Synced: 2023-03-23T11:43:58.742Z (over 1 year ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `dib`
`dib` (Docker Image Builder) makes it easy to programmatically build public
Docker images, from Dockerfiles. It supports multiple backends
([Quay](https://quay.io/repository/) and [DockerHub](https://hub.docker.com/))
that all allow free creation of unlimited public images.## Quickstart
```go
import (
"fmt""github.com/saulshanabrook/dib"
)b := dib.NewQuayBuilder("username", "password")
i := dib.Image{
Repository: "saulshanabrook",
Name: "cool-stuff",
Tag: "1.2",
Dockerfile: "FROM alpine\nCMD echo cool-stuff"
}err := b.Build(&i)
fmt.Println(err)
```