mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-06 03:54:48 +02:00
update
This commit is contained in:
parent
7cfa6990d3
commit
59b1e287ef
27
builder/README.md
Normal file
27
builder/README.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
tutum/builder
|
||||||
|
=============
|
||||||
|
|
||||||
|
A docker image that builds, tests and pushes docker images from code repositories.
|
||||||
|
|
||||||
|
## docker-compose.yml
|
||||||
|
|
||||||
|
```
|
||||||
|
builder:
|
||||||
|
image: tutum/builder
|
||||||
|
command: vimagick/test
|
||||||
|
volumes:
|
||||||
|
- ~/.dockercfg:/.dockercfg:ro
|
||||||
|
environment:
|
||||||
|
- GIT_REPO=https://github.com/vimagick/dockerfiles.git
|
||||||
|
- DOCKERFILE_PATH=/test
|
||||||
|
privileged: true
|
||||||
|
```
|
||||||
|
|
||||||
|
## build docker image
|
||||||
|
|
||||||
|
```
|
||||||
|
$ cd ~/fig/builder/
|
||||||
|
$ docker login
|
||||||
|
$ docker-compose run --rm -e DOCKERFILE_PATH=/tinc builder vimagick/tinc:latest
|
||||||
|
$ docker search vimagick/tinc
|
||||||
|
```
|
9
builder/docker-compose.yml
Normal file
9
builder/docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
builder:
|
||||||
|
image: tutum/builder
|
||||||
|
command: vimagick/test
|
||||||
|
volumes:
|
||||||
|
- ~/.dockercfg:/.dockercfg:ro
|
||||||
|
environment:
|
||||||
|
- GIT_REPO=https://github.com/vimagick/dockerfiles.git
|
||||||
|
- DOCKERFILE_PATH=/test
|
||||||
|
privileged: true
|
Loading…
Reference in New Issue
Block a user