小编CAB*_*CAB的帖子

构建过程失败:未知指令:ARG

我正在使用我在本地成功构建的Dockerfile尝试我的第一个Docker Hub自动构建.在Docker Hub上,它输出失败

Cloning into 'brx9syjpjlk9bnmymmynwpl'...
Warning: Permanently added the RSA host key for IP address '104.192.143.2' to the list of known hosts.
KernelVersion: 3.13.0-40-generic
Os: linux
BuildTime: Mon Oct 12 05:37:18 UTC 2015
ApiVersion: 1.20
Version: 1.8.3
GitCommit: f4bf5c7
Arch: amd64
GoVersion: go1.4.2
Step 0 : FROM ubuntu:14.04
 ---> c4bea91afef3
Step 1 : ARG 
Unknown instruction: ARG
Run Code Online (Sandbox Code Playgroud)

我发现没有办法将build-arg传递给自动构建,但是我的ARG的默认值是理智的,所以这无关紧要.

任何想法这里的问题是什么?

dockerhub

8
推荐指数
1
解决办法
4760
查看次数

标签 统计

dockerhub ×1