|
@@ -6,14 +6,14 @@ RUN apt update && apt install -y wget unzip ca-certificates && rm -rf /var/lib/a
|
|
|
WORKDIR /app
|
|
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 \
|
|
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 2025.1.2.3.autonomi.x86_64-unknown-linux-musl.zip \
|
|
|
|
|
- && mv 2025.1.2.3.autonomi.x86_64-unknown-linux-musl/antnode . \
|
|
|
|
|
|
|
+ && unzip -d ./temp 2025.1.2.3.autonomi.x86_64-unknown-linux-musl.zip \
|
|
|
|
|
+ && mv temp/antnode . \
|
|
|
&& chmod +x antnode \
|
|
&& chmod +x antnode \
|
|
|
- && rm -rf 2025.1.2.3.autonomi.x86_64-unknown-linux-musl
|
|
|
|
|
|
|
+ && rm -rf temp
|
|
|
|
|
|
|
|
COPY entrypoint.sh entrypoint.sh
|
|
COPY entrypoint.sh entrypoint.sh
|
|
|
|
|
|
|
|
RUN chmod +x entrypoint.sh
|
|
RUN chmod +x entrypoint.sh
|
|
|
|
|
|
|
|
# 设置默认命令
|
|
# 设置默认命令
|
|
|
-ENTRYPOINT ["./entrypoint.sh"]
|
|
|
|
|
|
|
+ENTRYPOINT ["./entrypoint.sh"]
|