From f1c93de38b9998e0425d381787f70a4767fe548b Mon Sep 17 00:00:00 2001 From: Dan Pastusek Date: Mon, 17 Aug 2020 15:46:05 -0600 Subject: [PATCH] add bash jq yq to CI dockerfile --- Dockerfile.ci | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile.ci b/Dockerfile.ci index 2016702..adba47b 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1,10 +1,14 @@ FROM alpine:3.12 +ARG TARGETARCH=amd64 + ENV UID=1337 \ GID=1337 RUN echo "@edge_community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories -RUN apk add --no-cache ffmpeg su-exec ca-certificates olm@edge_community +RUN apk add --no-cache ffmpeg su-exec ca-certificates olm@edge_community bash jq curl && \ + curl -sLo yq ${YQ_DOWNLOAD_ADDR} && \ + chmod +x yq && mv yq /usr/bin/yq ARG EXECUTABLE=./mautrix-whatsapp COPY $EXECUTABLE /usr/bin/mautrix-whatsapp