mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-12-26 23:21:05 +08:00
This commit is contained in:
parent
e465b02956
commit
47413e5e66
@ -33,9 +33,9 @@ steps:
|
||||
pull: if-not-exists
|
||||
image: alpine
|
||||
commands:
|
||||
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r25b-linux.zip
|
||||
- unzip -q android-ndk-r25b-linux.zip
|
||||
- rm -f android-ndk-r25b-linux.zip
|
||||
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r25c-linux.zip
|
||||
- unzip -q android-ndk-r25c-linux.zip
|
||||
- rm -f android-ndk-r25c-linux.zip
|
||||
- name: docker1
|
||||
pull: if-not-exists
|
||||
image: plugins/docker
|
||||
|
@ -11,9 +11,9 @@ RUN apt-get update \
|
||||
iproute2 upx-ucl file zip
|
||||
|
||||
# 安装android ndk
|
||||
COPY android-ndk-r25b /usr/local/android-ndk-r25b
|
||||
COPY android-ndk-r25c /usr/local/android-ndk-r25c
|
||||
|
||||
# 环境变量
|
||||
ENV PATH=$PATH:/usr/local/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin
|
||||
ENV PATH=$PATH:/usr/local/android-ndk-r25c/toolchains/llvm/prebuilt/linux-x86_64/bin
|
||||
ENV GO111MODULE=on
|
||||
ENV GOPROXY=https://goproxy.aite.xyz,direct
|
||||
|
Loading…
x
Reference in New Issue
Block a user