diff --git a/.drone.yml b/.drone.yml index 8de357e..cfef11e 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-r23b-linux.zip - - unzip -q android-ndk-r23b-linux.zip - - rm -f android-ndk-r23b-linux.zip + - 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 - name: docker pull: if-not-exists image: plugins/docker diff --git a/Dockerfile b/Dockerfile index d32c660..cb81a70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # 基础镜像 -FROM golang:1.18.3-bullseye +FROM golang:1.19beta1-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-r23b /usr/local/android-ndk-r23b +COPY android-ndk-r23c /usr/local/android-ndk-r23c # 环境变量 -ENV PATH=$PATH:/usr/local/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin +ENV PATH=$PATH:/usr/local/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/bin ENV GO111MODULE=on ENV GOPROXY=https://goproxy.aite.xyz,direct diff --git a/go.mod b/go.mod index 1b5353b..e6c8c54 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/xiaoqidun/goenv -go 1.18 +go 1.19