mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-11-22 08:06:46 +08:00
This commit is contained in:
parent
73793848ce
commit
a245c26afa
@ -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-r25-linux.zip
|
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r25b-linux.zip
|
||||||
- unzip -q android-ndk-r25-linux.zip
|
- unzip -q android-ndk-r25b-linux.zip
|
||||||
- rm -f android-ndk-r25-linux.zip
|
- rm -f android-ndk-r25b-linux.zip
|
||||||
- name: docker
|
- name: docker
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# 基础镜像
|
# 基础镜像
|
||||||
FROM golang:1.19.0-bullseye
|
FROM golang:1.19.1-bullseye
|
||||||
|
|
||||||
# 作者信息
|
# 作者信息
|
||||||
LABEL MAINTAINER="xiaoqidun@gmail.com"
|
LABEL MAINTAINER="xiaoqidun@gmail.com"
|
||||||
@ -11,9 +11,9 @@ RUN apt-get update \
|
|||||||
iproute2 upx-ucl strace lsof htop tmux file zip
|
iproute2 upx-ucl strace lsof htop tmux file zip
|
||||||
|
|
||||||
# 安装android ndk
|
# 安装android ndk
|
||||||
COPY android-ndk-r25 /usr/local/android-ndk-r25
|
COPY android-ndk-r25b /usr/local/android-ndk-r25b
|
||||||
|
|
||||||
# 环境变量
|
# 环境变量
|
||||||
ENV PATH=$PATH:/usr/local/android-ndk-r25/toolchains/llvm/prebuilt/linux-x86_64/bin
|
ENV PATH=$PATH:/usr/local/android-ndk-r25b/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