Skip to content

Commit

Permalink
Drop the offline image from the default target
Browse files Browse the repository at this point in the history
The offline image with all versions of all schemas is over 6GB, which is
pretty unusable. Need to rethink the best way of handling that.
  • Loading branch information
garethr committed Jul 20, 2019
1 parent 407549e commit 70e32d6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,13 @@ lint: $(GOPATH)/bin/golint$(suffix)
docker:
docker build -t $(IMAGE_NAME):$(TAG) .
docker tag $(IMAGE_NAME):$(TAG) $(IMAGE_NAME):latest
docker push $(IMAGE_NAME):$(TAG)
docker push $(IMAGE_NAME):latest

docker-offline:
docker build -f Dockerfile.offline -t $(IMAGE_NAME):$(TAG)-offline .
docker tag $(IMAGE_NAME):$(TAG)-offline $(IMAGE_NAME):offline

publish: docker docker-offline
docker push $(IMAGE_NAME):$(TAG)
docker push $(IMAGE_NAME):latest
docker push $(IMAGE_NAME):$(TAG)-offline
docker push $(IMAGE_NAME):offline

vet:
go vet

Expand Down

0 comments on commit 70e32d6

Please sign in to comment.