From 36419ab507f8c86446d17bd8eaa67176d2c6c1d0 Mon Sep 17 00:00:00 2001 From: Luan Rafael Carneiro Date: Thu, 11 Jul 2024 09:01:45 -0300 Subject: [PATCH] Add condition to avoid errors with older images Signed-off-by: Luan Rafael Carneiro --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4dbb311..c437c01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,9 @@ ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install -y --no-install-recommends realpath || true && \ apt-get install -y --no-install-recommends python python-dev || true && \ + apt-get install -y --no-install-recommends python3 python3-dev || true && \ + apt-get install -y --no-install-recommends python-dev-is-python3 || true && \ + apt-get install -y --no-install-recommends libegl1-mesa || true && \ apt-get install -y --no-install-recommends \ build-essential \ ca-certificates \ @@ -26,14 +29,11 @@ RUN apt-get update && \ glib-2.0-dev \ iputils-ping \ less \ - libegl1-mesa \ liblz4-tool \ libsdl1.2-dev \ locales \ openssh-client \ openssl \ - python3 \ - python3-dev \ socat \ sudo \ texinfo \