From 87b9d8a4a6c1bcd73b9a484d084553bdb6c1e245 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Fri, 8 Nov 2024 17:56:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8D=87=E7=BA=A7=E7=89=88=E6=9C=AC):=20?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 6 +++--- DockerfileCN | 6 +++--- DockerfileHK | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4b806fb..3eba8b9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,9 +10,9 @@ steps: commands: - sed -i "s|deb.debian.org|mirrors.ustc.edu.cn|g" /etc/apt/sources.list.d/debian.sources - apt-get update && apt-get install -y wget unzip && rm -rf /var/lib/apt/lists/* - - wget -q -T 180 -4 https://dl.google.com/android/repository/android-ndk-r27-linux.zip - - unzip -q android-ndk-r27-linux.zip - - rm -f android-ndk-r27-linux.zip + - wget -q -T 180 -4 https://dl.google.com/android/repository/android-ndk-r27c-linux.zip + - unzip -q android-ndk-r27c-linux.zip + - rm -f android-ndk-r27c-linux.zip - name: docker-cn pull: if-not-exists image: plugins/docker diff --git a/DockerfileCN b/DockerfileCN index edafbf2..d164a17 100644 --- a/DockerfileCN +++ b/DockerfileCN @@ -1,5 +1,5 @@ # 基础镜像 -FROM golang:1.23.2-bookworm +FROM golang:1.23.3-bookworm # 作者信息 LABEL authors="xiaoqidun" @@ -14,9 +14,9 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # 安装android ndk -COPY android-ndk-r27 /usr/local/android-ndk-r27 +COPY android-ndk-r27c /usr/local/android-ndk-r27c # 环境变量 -ENV PATH=$PATH:/usr/local/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin +ENV PATH=$PATH:/usr/local/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/bin ENV GO111MODULE=on ENV GOPROXY=https://goproxy.cn,direct diff --git a/DockerfileHK b/DockerfileHK index c46a2bf..deee10c 100644 --- a/DockerfileHK +++ b/DockerfileHK @@ -1,5 +1,5 @@ # 基础镜像 -FROM golang:1.23.2-bookworm +FROM golang:1.23.3-bookworm # 作者信息 LABEL authors="xiaoqidun" @@ -11,9 +11,9 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # 安装android ndk -COPY android-ndk-r27 /usr/local/android-ndk-r27 +COPY android-ndk-r27c /usr/local/android-ndk-r27c # 环境变量 -ENV PATH=$PATH:/usr/local/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin +ENV PATH=$PATH:/usr/local/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/bin ENV GO111MODULE=on ENV GOPROXY=https://goproxy.aite.xyz,direct