You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local.Dokcerfile文件中的命令ADD phantomjs /opt/phantomjs-2.1.1会以/opt/phantomjs-2.1.1作为文件名将phantomjs添加到镜像中,所以构建过程中会提示chmod: /opt/phantomjs-2.1.1/phantomjs: Not a directory错误,因为在目录/opt/phantomjs-2.1.1中并不存在文件phantomjs。
local.Dokcerfile
文件中的命令ADD phantomjs /opt/phantomjs-2.1.1
会以/opt/phantomjs-2.1.1
作为文件名将phantomjs
添加到镜像中,所以构建过程中会提示chmod: /opt/phantomjs-2.1.1/phantomjs: Not a directory
错误,因为在目录/opt/phantomjs-2.1.1
中并不存在文件phantomjs
。添加文件分隔符
/
后可以跑通。ADD phantomjs /opt/phantomjs-2.1.1
=>ADD phantomjs /opt/phantomjs-2.1.1/
The text was updated successfully, but these errors were encountered: