From ed5fcd52f8de40905165e3c71cf25afbefefe4a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Da=20Luz=20Moreira?= <andda15@liu.se> Date: Wed, 11 May 2022 16:32:39 +0200 Subject: [PATCH] Changed python (linked to python3) and sh (now linked to bash instead of dash) in the container. --- my.Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/my.Dockerfile b/my.Dockerfile index 0102b7c..eeac961 100644 --- a/my.Dockerfile +++ b/my.Dockerfile @@ -20,6 +20,11 @@ RUN apt-get update \ RUN pip3 install PyFoam # Upgrade pip RUN pip3 install --upgrade pip +# Link python to version 3 +RUN ln -s /usr/bin/python3 /usr/bin/python +# Linking /bin/sh to bash instead of dash!! +RUN mv /bin/sh /bin/sh.orig \ + && ln -s /bin/bash /bin/sh # HÃ¥kan Nilsson's recommendations: # Uncomment as you wish (some have graphical interfaces) -- GitLab