Skip to content

Commit

Permalink
build: split 'make docker' steps into individual tasks for easier deb…
Browse files Browse the repository at this point in the history
…ugging
  • Loading branch information
adamdecaf committed Oct 28, 2020
1 parent 134162f commit 3bc4f1d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,21 @@ else
CGO_ENABLED=0 GOOS=$(PLATFORM) go build -o bin/wire-$(PLATFORM)-amd64 github.com/moov-io/wire/cmd/server
endif

docker: clean
# Main wire server Docker image
docker: clean docker-hub docker-openshift docker-fuzz docker-webui

docker-hub:
docker build --pull -t moov/wire:$(VERSION) -f Dockerfile .
docker tag moov/wire:$(VERSION) moov/wire:latest
# OpenShift Docker image

docker-openshift:
docker build --pull -t quay.io/moov/wire:$(VERSION) -f Dockerfile.openshift --build-arg VERSION=$(VERSION) .
docker tag quay.io/moov/wire:$(VERSION) quay.io/moov/wire:latest
# Wire Fuzzing docker image

docker-fuzz:
docker build --pull -t moov/wirefuzz:$(VERSION) . -f Dockerfile.fuzz
docker tag moov/wirefuzz:$(VERSION) moov/wirefuzz:latest
# webui Docker image

docker-webui:
docker build --pull -t moov/wire-webui:$(VERSION) -f Dockerfile.webui .
docker tag moov/wire-webui:$(VERSION) moov/wire-webui:latest

Expand Down

0 comments on commit 3bc4f1d

Please sign in to comment.