Skip to content
Snippets Groups Projects
Commit 298953da authored by Dan Pastusek's avatar Dan Pastusek
Browse files

add jq / yq, and TARGETARCH

parent e2165ef0
No related branches found
No related tags found
No related merge requests found
FROM docker.io/alpine:3.12 FROM docker.io/alpine:3.12
ARG TARGETARCH=amd64
RUN echo $'\ RUN echo $'\
@edge http://dl-cdn.alpinelinux.org/alpine/edge/main\n\ @edge http://dl-cdn.alpinelinux.org/alpine/edge/main\n\
@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing\n\ @edge http://dl-cdn.alpinelinux.org/alpine/edge/testing\n\
...@@ -32,7 +34,12 @@ RUN apk add --no-cache \ ...@@ -32,7 +34,12 @@ RUN apk add --no-cache \
py3-pysocks \ py3-pysocks \
# Other dependencies # Other dependencies
ca-certificates \ ca-certificates \
su-exec su-exec \
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-facebook/requirements.txt COPY requirements.txt /opt/mautrix-facebook/requirements.txt
COPY optional-requirements.txt /opt/mautrix-facebook/optional-requirements.txt COPY optional-requirements.txt /opt/mautrix-facebook/optional-requirements.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment