我正在为需要 OpenSSL 1.1.1 而不是默认 3.0 的应用程序创建 docker 映像
我在 Dockerfile 中添加了以下命令
RUN wget -O - https://www.openssl.org/source/openssl-1.1.1u.tar.gz | tar zxf -
RUN cd openssl-1.1.1u
RUN ./config --prefix=/usr/local
但是,该行在RUN ./config --prefix=/usr/local
构建图像期间抛出以下错误。
错误:buildx 失败:错误:无法解决:进程“/bin/sh -c ./config --prefix=/usr/local”未成功完成:退出代码:127
我该如何修复这个错误?