diff --git a/.gitignore b/.gitignore index 770c6af..7cdcd2d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .DS_Store -out.png +*.png gocker \ No newline at end of file diff --git a/Makefile b/Makefile index 59f266b..5cfe144 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,12 @@ GATEWAY_IMAGE := po3rin/gocker IMAGE := po3rin/gockersample -.PHONY: debug -debug: +.PHONY: debug-raw +debug-raw: + go run cmd/gocker/main.go -graph + +.PHONY: debug-img +debug-img: go run cmd/gocker/main.go -graph | buildctl debug dump-llb --dot | dot -T png -o out.png .PHONY: build-gocker diff --git a/go.sum b/go.sum index 1214119..edd6f5b 100644 --- a/go.sum +++ b/go.sum @@ -104,6 +104,7 @@ golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6Zh golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e h1:o3PsSEY8E4eXWkXrIP9YJALUkVZqzHJT5DOasTyn8Vs= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223 h1:DH4skfRX4EBpamg7iV4ZlCpblAHI6s6TDM39bFZumv8= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=