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
EXPERTO
preguntada hace 5 meses55 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas