Merge pull request #218 from kubesail/master

add bash jq yq to CI dockerfile
This commit is contained in:
Tulir Asokan 2020-08-18 00:49:47 +03:00 committed by GitHub
commit b2d64819f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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