Skip to content

Commit

Permalink
Add a local docker option
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Oct 26, 2020
1 parent d9e4add commit f293a7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ dist:
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags $(LDFLAGS) -a -installsuffix cgo -o bin/inlets-arm64
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags $(LDFLAGS) -a -installsuffix cgo -o bin/inlets.exe

.PHONY: docker-local
docker-local:
docker build \
-t inlets/inlets:$(Version) .

.PHONY: docker
docker:
@docker buildx create --use --name=multiarch --node multiarch && \
Expand Down

0 comments on commit f293a7d

Please sign in to comment.