Ver código fonte

Update Dockerfile

HoraceZhang 9 meses atrás
pai
commit
8dc8d88d16
1 arquivos alterados com 4 adições e 3 exclusões
  1. 4 3
      Dockerfile

+ 4 - 3
Dockerfile

@@ -1,11 +1,12 @@
-FROM debian:bullseye-slim
+FROM alpine:latest
 
-RUN apt update && apt install -y wget unzip ca-certificates && rm -rf /var/lib/apt/lists/* 
+# 安装必要的依赖包
+RUN apk add --no-cache wget unzip ca-certificates
 
 # 设置工作目录
 WORKDIR /app
 
-ARG VERSION=2025.1.2.3
+ARG VERSION=2025.1.2.11
 
 RUN wget https://github.com/maidsafe/autonomi/releases/download/stable-${VERSION}/${VERSION}.autonomi.x86_64-unknown-linux-musl.zip \
     && unzip -d ./temp ${VERSION}.autonomi.x86_64-unknown-linux-musl.zip \