Skip to content

Commit

Permalink
What a shame.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreben committed Oct 27, 2018
1 parent ad5749f commit c1b470b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
*
!/patch
!/vendor
!/main.go
!/static
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ bin/$(APP): $(GOFILES) static/patched
docker: $(GOFILES) Dockerfile static/patched
docker build -t "$(APP)":latest -t "$(APP)":$(VERSION) -f Dockerfile .

bin/$(APP)-$(VERSION)-docker-image.tar.gz: docker
docker save "$(APP)":$(VERSION) -o "bin/$(APP)-$(VERSION)-docker-image.tar.gz"

static/patched: Dockerfile.patch
docker build -t "$(APP)-patch" -f Dockerfile.patch .
docker run --rm -i -a stdout -a stderr -v "$$PWD/static":"/static" -w /static "$(APP)-patch" "$(VANILLA)" delta patched
Expand Down

0 comments on commit c1b470b

Please sign in to comment.