Adds both build and push support

This adds support for building and pushing docker containers
when you perform either `kompose convert` or `kompose up`.

Docker Compose files who have build parameters with their respective
image and build keys will automatically be both built and pushed.
This commit is contained in:
Charlie Drage
2017-06-14 10:19:12 -04:00
parent 49ada134ae
commit e2f9084003
26 changed files with 1664 additions and 555 deletions
+2
View File
@@ -0,0 +1,2 @@
FROM busybox
RUN touch /test
@@ -0,0 +1,5 @@
version: "2"
services:
foo:
build: "./build"
+6
View File
@@ -0,0 +1,6 @@
version: "2"
services:
foo:
build: "./build"
image: docker.io/cdrage/foobar