From fcc01c5fa3aba3dd3ececa2bd76d6f641c9d3e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Thu, 16 Feb 2023 14:02:32 +0100 Subject: [PATCH] wip --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6a66bde2..01c660ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,9 @@ RUN apt-get update \ && apt-get update \ && ACCEPT_EULA=Y apt-get install -y unixodbc-dev=2.3.7 unixodbc=2.3.7 odbcinst1debian2=2.3.7 odbcinst=2.3.7 msodbcsql17 +# temporary fix (the below step wasn't working properly on GH) +RUN rm -f /etc/alternatives/php && sudo update-alternatives --install /usr/bin/php php /usr/bin/php$PHP_VERSION 1 + # set PHP version RUN update-alternatives --set php /usr/bin/php$PHP_VERSION \ && update-alternatives --set phar /usr/bin/phar$PHP_VERSION \