天天看点

alpine运行程序提示not foundwget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.29-r0/glibc-2.29-r0.apkapk add glibc-2.29-r0.apk

解决的方法就是在Alpine里面安装glibc,让Alpine不再是Alpine

再者,alpine支持sh 而不是bash

步骤1: 下载key

~ # wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub

步骤2: 下载apk安装文件

wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.29-r0/glibc-2.29-r0.apk

步骤3: 安装

apk add glibc-2.29-r0.apk

继续阅读