update Python 3.9 Dockerfile
This commit is contained in:
parent
46499d4fa3
commit
82e3c4442a
1 changed files with 7 additions and 6 deletions
|
@ -14,9 +14,6 @@ RUN rm -f /usr/bin/python && ln -s /usr/bin/python3.9 /usr/bin/python
|
||||||
RUN wget https://bootstrap.pypa.io/pip/get-pip.py && python3 get-pip.py
|
RUN wget https://bootstrap.pypa.io/pip/get-pip.py && python3 get-pip.py
|
||||||
RUN pip install --upgrade cython==0.29.24 setuptools zipp importlib-resources importlib-metadata virtualenv appdirs sh colorama\>=0.3.3 jinja2 six pep517\<0.7.0 toml
|
RUN pip install --upgrade cython==0.29.24 setuptools zipp importlib-resources importlib-metadata virtualenv appdirs sh colorama\>=0.3.3 jinja2 six pep517\<0.7.0 toml
|
||||||
|
|
||||||
RUN git clone https://github.com/lbryio/buildozer.git
|
|
||||||
RUN cd buildozer && python setup.py install && cd ..
|
|
||||||
|
|
||||||
RUN mkdir -p cd ~/.buildozer/android/platform/
|
RUN mkdir -p cd ~/.buildozer/android/platform/
|
||||||
|
|
||||||
RUN wget 'https://dl.google.com/android/android-sdk_r23-linux.tgz' -P ~/.buildozer/android/platform/ && \
|
RUN wget 'https://dl.google.com/android/android-sdk_r23-linux.tgz' -P ~/.buildozer/android/platform/ && \
|
||||||
|
@ -31,9 +28,10 @@ RUN tar -xvf ~/.buildozer/android/platform/android-sdk_r23-linux.tgz -C ~/.build
|
||||||
mkdir -p ~/.buildozer/android/platform/android-sdk/build-tools && \
|
mkdir -p ~/.buildozer/android/platform/android-sdk/build-tools && \
|
||||||
unzip ~/.buildozer/android/platform/build-tools_r28.0.3-linux.zip -d ~/.buildozer/android/platform/android-sdk/build-tools && \
|
unzip ~/.buildozer/android/platform/build-tools_r28.0.3-linux.zip -d ~/.buildozer/android/platform/android-sdk/build-tools && \
|
||||||
mv ~/.buildozer/android/platform/android-sdk/build-tools/android-9 ~/.buildozer/android/platform/android-sdk/build-tools/28.0.3 && \
|
mv ~/.buildozer/android/platform/android-sdk/build-tools/android-9 ~/.buildozer/android/platform/android-sdk/build-tools/28.0.3 && \
|
||||||
unzip ~/.buildozer/android/platform/commandlinetools-linux-7583922_latest.zip -d ~/.buildozer/android/platform/android-sdk && \
|
mkdir -p ~/.buildozer/android/platform/android-sdk/cmdline-tools && \
|
||||||
cp -Rf ~/.buildozer/android/platform/android-sdk/cmdline-tools/* ~/.buildozer/android/platform/android-sdk/tools && \
|
unzip ~/.buildozer/android/platform/commandlinetools-linux-7583922_latest.zip -d ~/.buildozer/android/platform/android-sdk/cmdline-tools && \
|
||||||
rm -rf ~/.buildozer/android/platform/android-sdk/cmdline-tools
|
mv ~/.buildozer/android/platform/android-sdk/cmdline-tools/cmdline-tools ~/.buildozer/android/platform/android-sdk/cmdline-tools/5.0 && \
|
||||||
|
cp -Rf ~/.buildozer/android/platform/android-sdk/cmdline-tools/5.0/* ~/.buildozer/android/platform/android-sdk/tools
|
||||||
|
|
||||||
RUN rm ~/.buildozer/android/platform/android-sdk_r23-linux.tgz && \
|
RUN rm ~/.buildozer/android/platform/android-sdk_r23-linux.tgz && \
|
||||||
rm ~/.buildozer/android/platform/platform-28_r06.zip && \
|
rm ~/.buildozer/android/platform/platform-28_r06.zip && \
|
||||||
|
@ -43,4 +41,7 @@ RUN rm ~/.buildozer/android/platform/android-sdk_r23-linux.tgz && \
|
||||||
RUN mkdir -p ~/.buildozer/android/platform/android-sdk/licenses && \
|
RUN mkdir -p ~/.buildozer/android/platform/android-sdk/licenses && \
|
||||||
echo $'\n8933bad161af4178b1185d1a37fbf41ea5269c55\nd56f5187479451eabf01fb78af6dfcb131a6481e\n24333f8a63b6825ea9c5514f83c2829b004d1fee' > ~/.buildozer/android/platform/android-sdk/licenses/android-sdk-license
|
echo $'\n8933bad161af4178b1185d1a37fbf41ea5269c55\nd56f5187479451eabf01fb78af6dfcb131a6481e\n24333f8a63b6825ea9c5514f83c2829b004d1fee' > ~/.buildozer/android/platform/android-sdk/licenses/android-sdk-license
|
||||||
|
|
||||||
|
RUN git clone https://github.com/lbryio/buildozer.git
|
||||||
|
RUN cd buildozer && python setup.py install && cd ..
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
|
|
Loading…
Reference in a new issue