Amazon Linux 2023镜像不支持php7.3版本。

0

【以下的问题经过翻译处理】 在我的dockerfile中,我使用以下基本映像来构建我的应用程序映像。

FROM public.ecr.aws/amazonlinux/amazonlinux:latest

一旦基础映像版本从AMI2更改为2023版本,我的dockerfile无法构建大多数软件包,其中包括php7.3版本。它只支持版本8。

我能否获得有关如何在2023映像版本中安装版本7.3的任何帮助?

profile picture
EXPERTE
gefragt vor 5 Monaten55 Aufrufe
1 Antwort
0

【以下的回答经过翻译处理】 我在这里检查了文档,似乎包含了php 8.1。 https://docs.aws.amazon.com/ja_jp/linux/al2023/release-notes/new-packages.html 根据以下文件,Amazon Linux 2023无法使用EPEL存储库。 https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html#epel 因此,可能需要从源代码安装php 7.3。

profile picture
EXPERTE
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen