diff --git a/faas-cli/Dockerfile b/faas-cli/Dockerfile new file mode 100644 index 0000000..c091aa6 --- /dev/null +++ b/faas-cli/Dockerfile @@ -0,0 +1,4 @@ +FROM docker:20.10.10-dind + +RUN wget https://github.com/openfaas/faas-cli/releases/download/0.13.13/faas-cli -O /usr/local/bin/faas-cli +RUN chmod +x /usr/local/bin/faas-cli diff --git a/faas-cli/Makefile b/faas-cli/Makefile new file mode 100644 index 0000000..91b2329 --- /dev/null +++ b/faas-cli/Makefile @@ -0,0 +1,13 @@ +VERSION=0.13.13 +IMAGE=faas-cli +REGISTRY=registry.0xace.cc/ghp + +.PHONY: build push all + +build: + docker build -t $(REGISTRY)/$(IMAGE):$(VERSION) . + +push: + docker push $(REGISTRY)/$(IMAGE):$(VERSION) + +all: build push