diff --git a/Dockerfile b/Dockerfile index 406e03f..e393ade 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,7 @@ RUN \ echo "**** install from ferdium from deb ****" && \ if [ -z ${FERDIUM_VERSION+x} ]; then \ FERDIUM_VERSION=$(curl -sX GET "https://api.github.com/repos/ferdium/ferdium-app/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ cd /tmp && \ curl -o \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 5fa6f05..6e8a6c8 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -31,7 +31,7 @@ RUN \ echo "**** install from ferdium from deb ****" && \ if [ -z ${FERDIUM_VERSION+x} ]; then \ FERDIUM_VERSION=$(curl -sX GET "https://api.github.com/repos/ferdium/ferdium-app/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ cd /tmp && \ curl -o \