diff --git a/_provisioning/an-api/Dockerfile b/_provisioning/an-api/Dockerfile index a05f29f..38ce711 100644 --- a/_provisioning/an-api/Dockerfile +++ b/_provisioning/an-api/Dockerfile @@ -4,6 +4,22 @@ LABEL AUTHOR="Nelson Herbin " LABEL NAME=tricoteuses-an-api LABEL VERSION=1 +RUN apt-get update && \ +apt-get install unzip; + +ENV JQ_VERSION='1.5' + +RUN wget --no-check-certificate https://raw.githubusercontent.com/stedolan/jq/master/sig/jq-release.key -O /tmp/jq-release.key && \ + wget --no-check-certificate https://raw.githubusercontent.com/stedolan/jq/master/sig/v${JQ_VERSION}/jq-linux64.asc -O /tmp/jq-linux64.asc && \ + wget --no-check-certificate https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64 -O /tmp/jq-linux64 && \ + gpg --import /tmp/jq-release.key && \ + gpg --verify /tmp/jq-linux64.asc /tmp/jq-linux64 && \ + cp /tmp/jq-linux64 /usr/bin/jq && \ + chmod +x /usr/bin/jq && \ + rm -f /tmp/jq-release.key && \ + rm -f /tmp/jq-linux64.asc && \ + rm -f /tmp/jq-linux64 + RUN git clone https://framagit.org/tricoteuses/tricoteuses-api-assemblee.git WORKDIR tricoteuses-api-assemblee