feat(升级版本): 升级版本
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
xiaoqidun 2024-08-15 03:25:19 +08:00
parent 7e366ab17e
commit 7722f887a8
3 changed files with 7 additions and 7 deletions

@ -10,9 +10,9 @@ steps:
commands: commands:
- sed -i "s|deb.debian.org|mirrors.ustc.edu.cn|g" /etc/apt/sources.list.d/debian.sources - sed -i "s|deb.debian.org|mirrors.ustc.edu.cn|g" /etc/apt/sources.list.d/debian.sources
- apt-get update && apt-get install -y wget unzip && rm -rf /var/lib/apt/lists/* - apt-get update && apt-get install -y wget unzip && rm -rf /var/lib/apt/lists/*
- wget -q -T 180 -4 https://dl.google.com/android/repository/android-ndk-r26d-linux.zip - wget -q -T 180 -4 https://dl.google.com/android/repository/android-ndk-r27-linux.zip
- unzip -q android-ndk-r26d-linux.zip - unzip -q android-ndk-r27-linux.zip
- rm -f android-ndk-r26d-linux.zip - rm -f android-ndk-r27-linux.zip
- name: docker-cn - name: docker-cn
pull: if-not-exists pull: if-not-exists
image: plugins/docker image: plugins/docker

@ -1,5 +1,5 @@
# 基础镜像 # 基础镜像
FROM golang:1.23rc2-bookworm FROM golang:1.23.0-bookworm
# 作者信息 # 作者信息
LABEL authors="xiaoqidun" LABEL authors="xiaoqidun"

@ -1,5 +1,5 @@
# 基础镜像 # 基础镜像
FROM golang:1.23rc2-bookworm FROM golang:1.23.0-bookworm
# 作者信息 # 作者信息
LABEL authors="xiaoqidun" LABEL authors="xiaoqidun"
@ -11,9 +11,9 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# 安装android ndk # 安装android ndk
COPY android-ndk-r26d /usr/local/android-ndk-r26d COPY android-ndk-r27 /usr/local/android-ndk-r27
# 环境变量 # 环境变量
ENV PATH=$PATH:/usr/local/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin ENV PATH=$PATH:/usr/local/android-ndk-r27/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