From fb1047603f179c4f99350d0dc089f95512d52c5e Mon Sep 17 00:00:00 2001 From: ace Date: Tue, 2 Nov 2021 03:09:53 +0300 Subject: [PATCH] add docker:dind with faas-cli 0.13.13 --- faas-cli/Dockerfile | 4 ++++ faas-cli/Makefile | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 faas-cli/Dockerfile create mode 100644 faas-cli/Makefile 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