mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-11-25 01:16:45 +08:00
This commit is contained in:
parent
e465b02956
commit
47413e5e66
@ -33,9 +33,9 @@ steps:
|
|||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r25b-linux.zip
|
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r25c-linux.zip
|
||||||
- unzip -q android-ndk-r25b-linux.zip
|
- unzip -q android-ndk-r25c-linux.zip
|
||||||
- rm -f android-ndk-r25b-linux.zip
|
- rm -f android-ndk-r25c-linux.zip
|
||||||
- name: docker1
|
- name: docker1
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -11,9 +11,9 @@ RUN apt-get update \
|
|||||||
iproute2 upx-ucl file zip
|
iproute2 upx-ucl file zip
|
||||||
|
|
||||||
# 安装android ndk
|
# 安装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 GO111MODULE=on
|
||||||
ENV GOPROXY=https://goproxy.aite.xyz,direct
|
ENV GOPROXY=https://goproxy.aite.xyz,direct
|
||||||
|
Loading…
x
Reference in New Issue
Block a user