|
|
@@ -5,8 +5,10 @@ RUN apt update && apt install -y wget unzip ca-certificates && rm -rf /var/lib/a
|
|
|
# 设置工作目录
|
|
|
WORKDIR /app
|
|
|
|
|
|
-RUN wget https://github.com/maidsafe/autonomi/releases/download/stable-2025.1.2.3/2025.1.2.3.autonomi.x86_64-unknown-linux-musl.zip \
|
|
|
- && unzip -d ./temp 2025.1.2.3.autonomi.x86_64-unknown-linux-musl.zip \
|
|
|
+ARG VERSION=2025.1.2.3
|
|
|
+
|
|
|
+RUN wget https://github.com/maidsafe/autonomi/releases/download/stable-${VERSION}/stable-${VERSION}.autonomi.x86_64-unknown-linux-musl.zip \
|
|
|
+ && unzip -d ./temp ${VERSION}.autonomi.x86_64-unknown-linux-musl.zip \
|
|
|
&& mv temp/antnode . \
|
|
|
&& chmod +x antnode \
|
|
|
&& rm -rf temp
|