Linux/alpine
来自康健生活
< Linux
start
package
apk
安装指定版本的软件。
/home/kangkk
apk add packagename=1.1.1-r0
#
apk add "packagename>1.1.1-r0"
eq:
/home/kangkk
apk update && apk --no-cache add git openssh python2 bash nodejs=14.16.1-r1 npm
在 drone 中配置,eq:
.drone.yml
steps:
- name: build-plugin-ps
image: node:14.18.1-alpine
environment:
ELECTRON_MIRROR: http://npm.taobao.org/mirrors/electron/
commands:
- apk update && apk --no-cache add git openssh python2 bash autoconf