I got the following error when installing php-radis while building a container with Docker
E: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/pool/main/p/php-redis/php-redis_4.2.0-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
php-redis version is new and old files don't seem to be found If you want to install the updated version with Dockerfile, you have to install the update in the same RUN. http://docs.docker.jp/engine/articles/dockerfile_best-practice.html So the description of the Dockerfile is as below
Dockerfile
apt-get update && apt-get install -yqq php-redis
Now you can build
that's all
Recommended Posts