Created
July 19, 2024 08:24
-
-
Save antonkomarev/12c01c918b82962da788d7aa6ac2d5f0 to your computer and use it in GitHub Desktop.
How to install PHP in Docker when "add-apt-repository -y ppa:ondrej/php" is not available
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get -y install --no-install-recommends --no-install-suggests dirmngr && \ | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 71DAEAAB4AD4CAB6 4F4EA0AAE5267A6C && \ | |
add-apt-repository -y "deb https://mirror.yandex.ru/mirrors/launchpad/ondrej/php/ $(lsb_release -cs) main" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment