Dockerfile 308 B

1234567891011121314151617
  1. FROM ubuntu:24.04
  2. RUN apt update && apt install -y ca-certificates && rm -rf /var/lib/apt/lists/*
  3. # 设置工作目录
  4. WORKDIR /app
  5. COPY nexus_client nexus_client
  6. RUN chmod +x nexus_client
  7. COPY entrypoint.sh entrypoint.sh
  8. RUN chmod +x entrypoint.sh
  9. # 设置默认命令
  10. ENTRYPOINT ["./entrypoint.sh"]