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