refactor: .devops/pcm-kubenative.yml

This commit is contained in:
devad 2023-04-04 17:02:01 +08:00 committed by jianmu
parent bf11624679
commit f92b924367
1 changed files with 1 additions and 11 deletions

View File

@ -32,17 +32,7 @@ workflow:
env:
CODE_PATH: git_clone_0.git_path
script:
- cat > /etc/apk/repositories << EOF; $(echo)
- ""
- https://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut
-d'.' -f1,2)/main/
- https://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut
-d'.' -f1,2)/community/
- https://dl-cdn.alpinelinux.org/alpine/edge/testing/
- ""
- EOF
- ""
- apk add --update --no-cache go vim git make musl-dev curl
- apk add --update --no-cache go
- ""
- export GOPATH=/root/go
- export PATH=${GOPATH}/bin:/usr/local/go/bin:$PATH