Docker container build fails to install php-radis

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

Docker container build fails to install php-radis
Rails new fails to install mysql
mysql2 fails to install with bundle install
Introduction to Linux Container / Docker (Part 2)
Pass environment variables to docker container
[Docker] Operation up to container creation # 2
Challenge to install WSL2 and docker
How to build CloudStack using Docker
Build WebRTC Janus with Docker container
Install Ubuntu20.04 on RaspberryPi 4 and build Kubernetes to run the container
Install PHP7.4 to build CentOS7 Laravel environment
Docker push to GitHub Container Registry (ghcr.io)
[Docker] Copy files from docker container to host
Quick build maven project using maven docker container
Introduction to Docker / Kubernetes Practical Container Development
How to build Rails 6 environment with Docker
[Docker] How to build when the source code is bind-mounted on the container
How to check the logs in the Docker container
Add the JDK to the TeamCity build agent container
How to get a heapdump from a Docker container
How to install Docker
Build a Kotlin app using OpenJDK's Docker container
Test, build, and push your Docker image to GitHub Container Registry using GitHub Actions
Setting to exit from Docker container with VScode
Copy files from docker container to host (docker cp)
I made a Docker container to run Maven
How to update pre-built files in docker container
Build a container for Docker x Laravel phpMyAdmin
Small Docker container
[Rails] How to build an environment with Docker
3 Tips to Improve Lead Time for Docker Build
What to do when build fails by rbenv install / pyenv install with anyenv (Debian system)
Cache Gradle dependent files to speed up docker build
[Road _node.js_1-1] Road to build Node.js Express MySQL environment using Docker
How to build Docker + Springboot app (for basic learning)
Steps to push Docker image to GitHub Container Registry (ghcr.io)
Build a docker container for a python simple web server
How to build docker environment with Gradle for intelliJ
Create a Docker container to convert EPS to PGF source
Command memo to install xeyes in ubuntu docker environment
[Docker] Build an Apache container on EC2 using dockerfile
Try to build a Java development environment using Docker
Push Docker images from GitHub Actions to GitHub Container Registry
I tried to build an environment using Docker (beginner)
When semantic-ui install fails
Install Docker on Manjaro
How to install docker-machine
How to install MySQL
How to build android-midi-lib
Docker container usage scene
Install Composer with Docker
How to install ngrok
Wait for the container service to start with docker healthcheck
How to build [TypeScript + Vue + Express + MySQL] environment with Docker ~ Express ~
I tried to build the environment little by little using docker
Build a container that automatically formats Docker x Laravel code
How to build Rails, Postgres, ElasticSearch development environment with Docker
I tried to build the environment of WSL2 + Docker + VSCode
[Docker] dokcer-compose run, Please run `yarn install –check-files` to update. Error
[Docker] How to access the host from inside the container. http://host.docker.internal:
Easily convert Java application to Docker container with Jib ~ Build with gradle and register in local repository