FROM debian
RUN apt update && apt -y upgrade && apt -y install git curl systemd
RUN git clone https://github.com/openfaas/faasd --depth=1
RUN cd faasd && ./hack/install.sh