feat(升级依赖): 升级依赖
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
xiaoqidun 2021-11-07 00:25:44 +08:00
parent 4ddf0bd22a
commit 6f8569a01d
2 changed files with 6 additions and 6 deletions

@ -33,9 +33,9 @@ steps:
pull: if-not-exists
image: alpine
commands:
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r23-linux.zip
- unzip -q android-ndk-r23-linux.zip
- rm -f android-ndk-r23-linux.zip
- 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
- name: docker1
pull: if-not-exists
image: plugins/docker

@ -1,5 +1,5 @@
# 基础镜像
FROM golang:1.17.2-bullseye
FROM golang:1.17.3-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-r23 /usr/local/android-ndk-r23
COPY android-ndk-r23b /usr/local/android-ndk-r23b
# 环境变量
ENV PATH=$PATH:/usr/local/android-ndk-r23/toolchains/llvm/prebuilt/linux-x86_64/bin
ENV PATH=$PATH:/usr/local/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.aite.xyz,direct