Linux/alpine:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第10行: 第10行:
{{shc|<syntaxhighlight lang="bash">
{{shc|<syntaxhighlight lang="bash">
apk update && apk --no-cache add git openssh python2 bash nodejs=14.16.1-r1 npm</syntaxhighlight>|$|/home/kangkk}}
apk update && apk --no-cache add git openssh python2 bash nodejs=14.16.1-r1 npm</syntaxhighlight>|$|/home/kangkk}}
 
在 drone 中配置,eq:
{{shc|<syntaxhighlight lang="xml">
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</syntaxhighlight>|$|/home/kangkk}}
=== 参考 ===
=== 参考 ===
https://pkgs.alpinelinux.org/packages
https://pkgs.alpinelinux.org/packages