mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-15 07:21:33 +01:00
Fix python3 symlink
This commit is contained in:
parent
c7c0430029
commit
1a690e94e3
@ -42,3 +42,5 @@ RUN \
|
|||||||
libtool-doc \
|
libtool-doc \
|
||||||
&& \
|
&& \
|
||||||
apt-get clean --yes
|
apt-get clean --yes
|
||||||
|
# Add symlink for compatibility
|
||||||
|
RUN ln -s /usr/bin/python3 /usr/bin/python
|
||||||
|
@ -25,7 +25,7 @@ RUN \
|
|||||||
/buildscripts/build-and-install-git.sh && \
|
/buildscripts/build-and-install-git.sh && \
|
||||||
/buildscripts/install-cmake-binary.sh $X86_FLAG && \
|
/buildscripts/install-cmake-binary.sh $X86_FLAG && \
|
||||||
/buildscripts/install-liquidprompt-binary.sh && \
|
/buildscripts/install-liquidprompt-binary.sh && \
|
||||||
PYTHON=$([ -e /opt/python/cp38-cp38/bin/python ] && echo "/opt/python/cp38-cp38/bin/python" || echo "python3") && \
|
PYTHON=$([ -e /opt/python/cp38-cp38/bin/python ] && echo "/opt/python/cp38-cp38/bin/python" || echo "python") && \
|
||||||
/buildscripts/install-python-packages.sh -python ${PYTHON} && \
|
/buildscripts/install-python-packages.sh -python ${PYTHON} && \
|
||||||
/buildscripts/build-and-install-ninja.sh -python ${PYTHON} && \
|
/buildscripts/build-and-install-ninja.sh -python ${PYTHON} && \
|
||||||
rm -rf /buildscripts
|
rm -rf /buildscripts
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
set -e
|
set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
PYTHON=python3
|
PYTHON=python
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-python)
|
-python)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
set -e
|
set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
PYTHON=python3
|
PYTHON=python
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-python)
|
-python)
|
||||||
|
Loading…
Reference in New Issue
Block a user