From 8662db67b82bf018220dd72d4c1aacb21f49a1c4 Mon Sep 17 00:00:00 2001 From: Dan Pastusek Date: Fri, 14 Aug 2020 15:03:15 -0600 Subject: [PATCH] add jq / yq --- Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 976dd34f..b7cf3a18 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM dock.mau.dev/tulir/lottieconverter:alpine-3.12 +ARG TARGETARCH=amd64 + RUN echo $'\ @edge http://dl-cdn.alpinelinux.org/alpine/edge/main\n\ @edge http://dl-cdn.alpinelinux.org/alpine/edge/testing\n\ @@ -41,7 +43,13 @@ RUN apk add --no-cache \ olm-dev \ py3-pycryptodome \ py3-unpaddedbase64 \ - py3-future + py3-future \ + bash \ + curl \ + jq && \ + curl -sLo yq https://github.com/mikefarah/yq/releases/download/3.3.2/yq_linux_${TARGETARCH} && \ + chmod +x yq && mv yq /usr/bin/yq + COPY requirements.txt /opt/mautrix-telegram/requirements.txt COPY optional-requirements.txt /opt/mautrix-telegram/optional-requirements.txt