mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-11-22 16:16:46 +08:00
feat(更新版本): 更新Go到1.17-bullseye
This commit is contained in:
parent
e7065f5328
commit
a726b9a3c7
@ -33,9 +33,9 @@ steps:
|
||||
pull: if-not-exists
|
||||
image: alpine
|
||||
commands:
|
||||
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r21e-linux-x86_64.zip
|
||||
- unzip -q android-ndk-r21e-linux-x86_64.zip
|
||||
- rm -f android-ndk-r21e-linux-x86_64.zip
|
||||
- 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
|
||||
- name: docker
|
||||
pull: if-not-exists
|
||||
image: plugins/docker
|
||||
|
@ -1,5 +1,5 @@
|
||||
# 基础镜像
|
||||
FROM golang:1.17rc2-buster
|
||||
FROM golang:1.17-bullseye
|
||||
|
||||
# 作者信息
|
||||
LABEL MAINTAINER="xiaoqidun@gmail.com"
|
||||
@ -11,9 +11,9 @@ RUN apt-get update \
|
||||
upx-ucl strace htop tmux file zip
|
||||
|
||||
# 安装android ndk
|
||||
COPY android-ndk-r21e /usr/local/android-ndk-r21e
|
||||
COPY android-ndk-r23 /usr/local/android-ndk-r23
|
||||
|
||||
# 环境变量
|
||||
ENV PATH=$PATH:/usr/local/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin
|
||||
ENV PATH=$PATH:/usr/local/android-ndk-r23/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