Docker:/ bin / sh:1:/tmp/provision.sh:找不到

时间:2019-05-26 16:28:26

标签: docker heroku splash

我正在尝试部署最新的scrapinghub / splash

我在win10上使用git-bash。我将回购分叉到https://github.com/kc1/splash/blob/master

并且我一直在尝试遵循Using docker, scrapy splash on Heroku来修改docker文件

https://github.com/kc1/splash/blob/master/Dockerfile

但是当我跑步时:

$ heroku container:push web --app splash1
=== Building web (E:\ENVS\r3\splash1\Dockerfile)
Sending build context to Docker daemon  5.333MB
Step 1/11 : FROM ubuntu:16.04
 ---> 2a697363a870
Step 2/11 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> d65460bd23ae
Step 3/11 : ENV PATH="/opt/qt59/5.9.1/gcc_64/bin:${PATH}"
 ---> Using cache
 ---> f8ad62632743
Step 4/11 : ADD dockerfiles/splash/provision.sh /tmp/provision.sh
 ---> Using cache
 ---> 5fc632a5001f
Step 5/11 : ADD dockerfiles/splash/qt-installer-noninteractive.qs /tmp/script.qs
 ---> Using cache
 ---> 174d06a23d89
Step 6/11 : RUN /tmp/provision.sh     prepare_install     install_deps     install_qtwebkit_deps     install_official_qt     install_qtwebkit     install_pyqt5     install_python_deps
    install_flash     install_msfonts     install_extra_fonts     remove_builddeps     remove_extra &&     rm /tmp/provision.sh
 ---> Running in 45dd729ec969
/bin/sh: 1: /tmp/provision.sh: not found
The command '/bin/sh -c /tmp/provision.sh     prepare_install     install_deps     install_qtwebkit_deps     install_official_qt     install_qtwebkit     install_pyqt5     install_pyth
on_deps     install_flash     install_msfonts     install_extra_fonts     remove_builddeps     remove_extra &&     rm /tmp/provision.sh' returned a non-zero code: 127
 !    Error: docker build exited with Error: 127

我在做什么错了?

0 个答案:

没有答案