add docker:dind with faas-cli 0.13.13

This commit is contained in:
ace 2021-11-02 03:09:53 +03:00
parent 740c91098e
commit fb1047603f
No known key found for this signature in database
GPG Key ID: 32989872B72276A0
2 changed files with 17 additions and 0 deletions

4
faas-cli/Dockerfile Normal file
View File

@ -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

13
faas-cli/Makefile Normal file
View File

@ -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