Actualizar processor/Dockerfile
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
# Usar imagen base UBI9 de Python de Red Hat
|
||||
FROM registry.access.redhat.com/ubi9/python-39:latest
|
||||
|
||||
# Usuario root para instalar paquetes
|
||||
USER 0
|
||||
|
||||
# Establecer directorio de trabajo
|
||||
WORKDIR /app
|
||||
|
||||
# Instalar EPEL para RHEL 9.
|
||||
# Luego, instalar las herramientas de compilación y ffmpeg-free.
|
||||
# El repositorio ubi-9-codeready-builder-rpms ya está habilitado por defecto.
|
||||
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
|
||||
|
||||
RUN dnf makecache && \
|
||||
dnf install -y gcc-c++ make ffmpeg-free && \
|
||||
RUN dnf install -y dnf-plugins-core && \ # Necesario para config-manager
|
||||
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||
# Habilitar explícitamente los repos UBI que podrían tener SDL2
|
||||
dnf config-manager --set-enabled ubi-9-appstream-rpms && \
|
||||
dnf config-manager --set-enabled ubi-9-baseos-rpms && \
|
||||
dnf config-manager --set-enabled ubi-9-codeready-builder-rpms && \
|
||||
dnf makecache && \
|
||||
dnf install -y SDL2 gcc-c++ make ffmpeg-free && \
|
||||
dnf clean all && \
|
||||
rm -rf /var/cache/dnf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user