add docker:dind with faas-cli 0.13.13
This commit is contained in:
parent
740c91098e
commit
fb1047603f
4
faas-cli/Dockerfile
Normal file
4
faas-cli/Dockerfile
Normal 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
13
faas-cli/Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user