From 73793848ce27c15815e170878c9819481c446414 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Thu, 4 Aug 2022 00:47:02 +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 +++--- Dockerfile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index cfef11e..410a389 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,9 +33,9 @@ steps: pull: if-not-exists image: alpine commands: - - wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r23c-linux.zip - - unzip -q android-ndk-r23c-linux.zip - - rm -f android-ndk-r23c-linux.zip + - wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r25-linux.zip + - unzip -q android-ndk-r25-linux.zip + - rm -f android-ndk-r25-linux.zip - name: docker pull: if-not-exists image: plugins/docker diff --git a/Dockerfile b/Dockerfile index e0f6d29..5555644 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # 基础镜像 -FROM golang:1.19rc2-bullseye +FROM golang:1.19.0-bullseye # 作者信息 LABEL MAINTAINER="xiaoqidun@gmail.com" @@ -11,9 +11,9 @@ RUN apt-get update \ iproute2 upx-ucl strace lsof htop tmux file zip # 安装android ndk -COPY android-ndk-r23c /usr/local/android-ndk-r23c +COPY android-ndk-r25 /usr/local/android-ndk-r25 # 环境变量 -ENV PATH=$PATH:/usr/local/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/bin +ENV PATH=$PATH:/usr/local/android-ndk-r25/toolchains/llvm/prebuilt/linux-x86_64/bin ENV GO111MODULE=on ENV GOPROXY=https://goproxy.aite.xyz,direct