Docker/yapi:修订间差异
来自康健生活
< Docker
| 第28行: | 第28行: | ||
安装 pyenv | 安装 pyenv | ||
{{shc|<syntaxhighlight lang="bash"> | {{shc|<syntaxhighlight lang="bash"> | ||
pacman -S | pacman -S pyenv | ||
### | ### | ||
pyenv install 3.10.4 | pyenv install 3.10.4 | ||
</syntaxhighlight>|$|/home/kangkk}} | </syntaxhighlight>|$|/home/kangkk}} | ||
2025年3月11日 (二) 07:24的版本
标题文本
下载 OS
/home/kangkk
sudo docker pull archlinux
创建并进入容器
/home/kangkk
# docker run -it <image_name> /bin/bash
sudo docker run -it archlinux /bin/bash
同步 pacman 软件数据库
/home/kangkk
pacman -Syyu
安装 unzip
/home/kangkk
pacman -S unzip
安装 nodejs
/home/kangkk
curl -o- https://fnm.vercel.app/install | bash
###
source /root/.bashrc
###
fnm install 10
安装 pyenv
/home/kangkk
pacman -S pyenv
###
pyenv install 3.10.4
No categories