mirror of https://github.com/dapr/cli.git
fix: include dockerfile
Signed-off-by: Andrew Duss <andrew.duss@storable.com>
This commit is contained in:
parent
a440087a59
commit
72a0a257dc
|
|
@ -0,0 +1,18 @@
|
||||||
|
FROM alpine
|
||||||
|
|
||||||
|
ARG VERSION=v1.11.0
|
||||||
|
ARG ARCH=linux
|
||||||
|
ARG CPU=amd64
|
||||||
|
|
||||||
|
RUN apk add wget \
|
||||||
|
&& echo "[*] Version: ${VERSION}" \
|
||||||
|
&& echo "[*] Arch: ${ARCH}" \
|
||||||
|
&& echo "[*] CPU: ${CPU}"
|
||||||
|
|
||||||
|
RUN wget \
|
||||||
|
--quiet \
|
||||||
|
-O dapr-cli.tgz \
|
||||||
|
https://github.com/dapr/cli/releases/download/${VERSION}/dapr_${ARCH}_${CPU}.tar.gz \
|
||||||
|
&& tar -xf dapr-cli.tgz \
|
||||||
|
&& rm dapr-cli.tgz \
|
||||||
|
&& mv dapr /bin/dapr
|
||||||
Loading…
Reference in New Issue