From e94bf990af069b7e4becf1c72e3a945a797b0b4c Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Sat, 26 Dec 2020 10:56:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=AE=89=E5=8D=93=E7=BC=96=E8=AF=91):=20?= =?UTF-8?q?=E9=99=8D=E7=BA=A7ndk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 6 +++--- Dockerfile | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7c6d602..088139e 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-r22-linux-x86_64.zip - - unzip -q android-ndk-r22-linux-x86_64.zip - - rm -f android-ndk-r22-linux-x86_64.zip + - wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r21d-linux-x86_64.zip + - unzip -q android-ndk-r21d-linux-x86_64.zip + - rm -f android-ndk-r21d-linux-x86_64.zip - name: docker pull: if-not-exists image: plugins/docker diff --git a/Dockerfile b/Dockerfile index e47a7ed..b99168a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,9 @@ RUN apt-get update \ build-essential mingw-w64 upx-ucl # 安装android ndk -COPY android-ndk-r22 /usr/local/android-ndk-r22 +COPY android-ndk-r21d /usr/local/android-ndk-r21d # 环境变量 -ENV PATH=$PATH:/usr/local/android-ndk-r22/toolchains/llvm/prebuilt/linux-x86_64/bin +ENV PATH=$PATH:/usr/local/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin ENV GO111MODULE=on ENV GOPROXY=https://goproxy.aite.xyz,direct \ No newline at end of file