Updated newt to 1.2.1
This commit is contained in:
parent
0d2dcd2de2
commit
f6b89a8255
1 changed files with 5 additions and 5 deletions
|
@ -7,15 +7,15 @@ RUN apk add --no-cache bash curl jq
|
|||
# Detect system architecture and download the correct Newt binary
|
||||
RUN ARCH=$(uname -m) && \
|
||||
if [ "$ARCH" = "x86_64" ]; then \
|
||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.1.3/newt_linux_amd64; \
|
||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.2.1/newt_linux_amd64; \
|
||||
elif [ "$ARCH" = "aarch64" ]; then \
|
||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.1.3/newt_linux_arm64; \
|
||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.2.1/newt_linux_arm64; \
|
||||
elif [ "$ARCH" = "armv7l" ]; then \
|
||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.1.3/newt_linux_arm32; \
|
||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.2.1/newt_linux_arm32; \
|
||||
elif [ "$ARCH" = "armv6l" ]; then \
|
||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.1.3/newt_linux_arm32v6; \
|
||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.2.1/newt_linux_arm32v6; \
|
||||
elif [ "$ARCH" = "riscv64" ]; then \
|
||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.1.3/newt_linux_riscv64; \
|
||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.2.1/newt_linux_riscv64; \
|
||||
else \
|
||||
echo "❌ ERROR: Unsupported architecture: $ARCH"; exit 1; \
|
||||
fi && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue