Dockerfile,输出评估的命令
无论如何是否有Docker创建输出评估的行?
例如,
# Dockerfile
COPY ${SRC}/file .
将回声步骤1/1复制$ {src}/file。
我希望它输出step 1/1复制src/file。
edit:我我是向其他与Docker文件兼容的包装工,例如buildah bud
Is there anyway to have docker create output the evaluated line?
for example
# Dockerfile
COPY ${SRC}/file .
will echo Step 1/1 COPY ${SRC}/file .
I want it to output instead Step 1/1 COPY src/file .
Edit: I'm open to other packers that are somewhat compatible with Docker files, such as buildah bud
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
与Buildah打开一个问题,我认为这将是一个合理的变化。
Open an issue with Buildah, and I think this would be a reasonable change.
您可以尝试在下一步中使用
ls
列出目录的内容。You could try listing the contents of the directory by using
ls
in the next step.