Docker Installs php:7.1-fpm Prompts libssl-dev Required Libssl Version 1.0.0 Too High, How to Resolve?

  docker, question

Question:
Docker Installs php:7.1-fpm Prompts libssl-dev Required Libssl Version 1.0.0 Too High, How to Resolve?

Environment:
Mac

Tried solutions:
1. google said that aptitude would downgrade libssl1.0.0, but I don’t understand how docker operates this;
2. The source of Aliyun was the same when it was replaced.

Error reporting diagram:
图片描述

My dockerfile configuration:
图片描述

List file for php:
图片描述

Thank you!

The problem has been solved, thank you.@Feng_YuIn case of such problems, please refer to the adopted answers and comments, and give a compliment by the way! I hope I can help people who just know docker.

Post your sources.list file and look at it. if you are using a mirror warehouse, it is only suspected that your mirror warehouse has not synchronized with the official warehouse, just wait for the mirror station to synchronize or change to another warehouse. If you use a third-party warehouse, you need to check for dependency conflicts.