1
0
mirror of https://github.com/repo-runner/debian-node.git synced 2024-09-19 15:12:58 +00:00

Use jq 1.6

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-02-13 16:37:04 +01:00
parent 39b69fdd86
commit f3f3c4ce39
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -6,12 +6,11 @@ export DEBIAN_FRONTEND=noninteractive
# Install required utils
apt-get update
apt-get install -y --no-install-recommends \
apt-transport-https \
ca-certificates \
curl \
git \
jq \
make
apt-transport-https \
ca-certificates \
curl \
git \
make
# Download latest release of inner-runner
DOWNLOAD=$(curl -sSfL https://api.github.com/repos/repo-runner/repo-runner/releases/latest |
@ -19,6 +18,10 @@ DOWNLOAD=$(curl -sSfL https://api.github.com/repos/repo-runner/repo-runner/relea
curl -sSfL "${DOWNLOAD}" | tar -xzf - -C /usr/local/bin
mv /usr/local/bin/inner-runner* /usr/local/bin/inner-runner
# Download recent release of jq
curl -sSfLo /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
chmod 0755 /usr/local/bin/jq
# Cleanup
apt-get autoremove --purge -y
rm -rf /var/lib/apt/lists/*