Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [BC] Python 2 for all target platforms #160

Merged
merged 9 commits into from
Mar 19, 2022
4 changes: 3 additions & 1 deletion images/ubuntu/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ RUN apt-get -q update \
libxss1 \
cpio \
lsb-release \
python \
python-setuptools \
webbertakken marked this conversation as resolved.
Show resolved Hide resolved
xvfb \
xz-utils \
&& apt-get clean \
Expand All @@ -50,7 +52,7 @@ RUN apt-get -q update \
&& apt-get -q install -y --no-install-recommends software-properties-common \
&& add-apt-repository -y ppa:ubuntu-toolchain-r/test \
&& apt-get -q install -y --only-upgrade libstdc++6 \
&& add-apt-repository -y --remove ppa:ubuntu-toolchain-r/test \
&& add-apt-repository -y --remove ppa:ubuntu-toolchain-r/test \
&& apt-get -q remove -y --auto-remove software-properties-common \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
Expand Down
12 changes: 1 addition & 11 deletions images/ubuntu/editor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ RUN echo "$version-$module" | grep -q -vP '^20(?!18).*android' \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
# Accept licenses
&& yes | "${ANDROID_HOME}/tools/bin/sdkmanager" --licenses \
&& yes | "${ANDROID_HOME}/tools/bin/sdkmanager" --licenses \
\
# Update alias 'unity-editor'
&& { \
Expand Down Expand Up @@ -206,21 +206,11 @@ RUN echo "$module" | grep -q -v '\(webgl\|linux-il2cpp\)' \
|| : \
&& apt-get -q update \
&& apt-get -q install -y --no-install-recommends --allow-downgrades \
python \
python-setuptools \
build-essential \
clang \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

#=======================================================================================
# [android, ios] python 3 support
#=======================================================================================
RUN echo "$module" | grep -q -v '\(android\|ios\)' \
&& exit 0 \
|| : \
&& ln -s /usr/bin/python3 /usr/bin/python

#=======================================================================================
# [2019.x] libnotify4 libunwind-dev libssl1.0
#=======================================================================================
Expand Down