swoole / docker-swoole

🏄 Official Docker Image of Swoole
https://hub.docker.com/r/phpswoole/swoole
Apache License 2.0
526 stars 112 forks source link

docker build 报错! #24

Closed ximenhuangguaduo closed 3 years ago

ximenhuangguaduo commented 3 years ago

=> ERROR [2/4] COPY ./rootfilesystem/ / 0.0s

[2/4] COPY ./rootfilesystem/ /:

failed to compute cache key: "/rootfilesystem" not found: not found

deminy commented 3 years ago

Did you run the docker build command under the root directory of the repository?

As mentioned in file README.md, the docker build command should look similar to:

docker build -t phpswoole/swoole -f dockerfiles/latest/php8.0/cli/Dockerfile .