fix: include dockerfile

Signed-off-by: Andrew Duss <andrew.duss@storable.com>
This commit is contained in:
Andrew Duss 2023-09-14 11:52:52 -06:00
parent a440087a59
commit 72a0a257dc
1 changed files with 18 additions and 0 deletions

18
docker/Dockerfile Normal file
View File

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