https://github.com/tsertkov/docker-builder
Builder - docker image for dedicated builds
https://github.com/tsertkov/docker-builder
Last synced: about 2 months ago
JSON representation
Builder - docker image for dedicated builds
- Host: GitHub
- URL: https://github.com/tsertkov/docker-builder
- Owner: tsertkov
- License: mit
- Created: 2015-05-28T07:54:05.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-29T09:20:12.000Z (almost 10 years ago)
- Last Synced: 2025-02-01T23:41:47.513Z (4 months ago)
- Language: Shell
- Size: 137 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-builder
[](https://imagelayers.io/?images=tsertkov/builder:latest 'Get your own badge on imagelayers.io')
> Docker image for dedicated builds.
Based on latest Ubuntu and contains:
- build-essential
- golang
- git
- mercurial## Usage
Get the image from hub or build it yourself:
`docker pull tsertkov/docker-builder`
Image expects `/build` data volume to be mounted and contain `build.sh` shell script which will be executed by `/bin/sh` within container when it starts.
## Example build.sh script
```sh
GOPATH=$(pwd) go get github.com/golang/example/hello
cp bin/hello /build/hello
```Check [hellogo.sh](https://github.com/tsertkov/docker-builder/blob/master/examples/hellogo.sh) example compiling hello go app with docker-builder.