diff --git a/rootfs/src/Dockerfile b/rootfs/src/Dockerfile index 6e3297fe..a57bf98e 100644 --- a/rootfs/src/Dockerfile +++ b/rootfs/src/Dockerfile @@ -30,11 +30,7 @@ FROM alpine:3.13.12 AS files1 # https://github.com/tianon/gosu/issues/93 ##err-with-qemu; >> ok with 1.14+; 1.17@Nov 3, 2023 # https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64 curl -o $third/bin/gosu -k -fSL https://github.com/tianon/gosu/releases/download/1.17/gosu-$arch; chmod +x $third/bin/gosu; \ - # yq v4.44.3 - curl -o $third/bin/yq -k -fSL https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_$arch; chmod +x $third/bin/yq; \ \ - # upx - # https://github.com/upx/upx/releases/download/v4.2.2/upx-4.2.2-arm64_linux.tar.xz #ok; echo a.1; \ case ${TARGETPLATFORM} in \ "linux/amd64") arch=amd64 ;; \ @@ -43,6 +39,10 @@ FROM alpine:3.13.12 AS files1 "linux/arm/v6") arch=armeb ;; \ "linux/386") arch=NONE_i386 ;; \ esac; \ + # yq v4.44.3 + curl -o $third/bin/yq -k -fSL https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_$arch; chmod +x $third/bin/yq; \ + # upx + # https://github.com/upx/upx/releases/download/v4.2.2/upx-4.2.2-arm64_linux.tar.xz #ok; file=upx-4.2.2-${arch}_linux.tar.xz; \ cd /tmp; curl -fSL -k -O https://github.com/upx/upx/releases/download/v4.2.2/$file; \ upack=/tmp/unpack-upx; mkdir -p $upack; tar -Jxf $file -C $upack --strip-components 1; \