Sar*_*ara 3 bash shell https wget docker
在我的 docker 文件中,我有以下命令
RUN wget -o test.jar https://bintray.com/artifact/download/thesamet/maven/gerrit-saml-plugin-2.11.4-2.jar
Run Code Online (Sandbox Code Playgroud)
但在构建中我收到以下错误:
The command '/bin/sh -c wget -o test.jar https://bintray.com/artifact/download/thesamet/maven/gerrit-saml-plugin-2.11.4-2.jar' returned a non-zero code: 8
Run Code Online (Sandbox Code Playgroud)
我尝试过--no-check-certificate,-U但遇到了同样的错误。
下面的命令有效。我应该使用ADD
ADD https://bintray.com/artifact/download/thesamet/maven/gerrit-saml-plugin-2.11.4-2.jar .
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4407 次 |
| 最近记录: |