diff --git a/Dockerfile b/Dockerfile index 100d52d..3221ab4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN \ apt-get update && \ if [ -z ${HELIUM_VERSION+x} ]; then \ HELIUM_VERSION=$(curl -sX GET "https://api.github.com/repos/imputnet/helium-linux/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ curl -o \ /tmp/helium.deb -L \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index f41b4d7..03cda9f 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -24,7 +24,7 @@ RUN \ apt-get update && \ if [ -z ${HELIUM_VERSION+x} ]; then \ HELIUM_VERSION=$(curl -sX GET "https://api.github.com/repos/imputnet/helium-linux/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ curl -o \ /tmp/helium.deb -L \