-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Simplifies Dockerfile and fix GitHub runner space #2142
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# - python-for-android dependencies | ||
# | ||
# Build with: | ||
# docker build --tag=p4a --file Dockerfile.py3 . | ||
# docker build --tag=p4a --file Dockerfile . | ||
# | ||
# Run with: | ||
# docker run -it --rm p4a /bin/sh -c '. venv/bin/activate && p4a apk --help' | ||
|
@@ -71,8 +71,6 @@ RUN dpkg --add-architecture i386 \ | |
openjdk-8-jdk \ | ||
patch \ | ||
pkg-config \ | ||
python \ | ||
python-pip \ | ||
python3 \ | ||
python3-dev \ | ||
python3-pip \ | ||
|
@@ -95,10 +93,6 @@ RUN useradd --create-home --shell /bin/bash ${USER} | |
RUN usermod -append --groups sudo ${USER} | ||
RUN echo "%sudo ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | ||
|
||
# install cython for python 2 (for python 3 it's inside the venv) | ||
RUN pip2 install --upgrade Cython==0.28.6 \ | ||
&& rm -rf ~/.cache/ | ||
|
||
Comment on lines
-98
to
-101
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. More removed Python2 leftovers 👍 |
||
WORKDIR ${WORK_DIR} | ||
RUN mkdir ${ANDROID_HOME} && chown --recursive ${USER} ${HOME_DIR} ${ANDROID_HOME} | ||
USER ${USER} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ python-for-android | |
================== | ||
|
||
[](https://travis-ci.org/kivy/python-for-android) | ||
[](https://github.com/kivy/python-for-android/actions?query=workflow%3A%22Unit+tests+%26+build+apps%22) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Anxious to see how it will look like this badge 👍 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ahah, you could actually see it from my fork/branch https://github.com/AndreMiras/python-for-android/tree/feature/python2_drop_follow_up |
||
[](https://coveralls.io/github/kivy/python-for-android?branch=develop) | ||
[](#backers) | ||
[](#sponsors) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh boy, we still have some Python2 leftovers...nice that you remove that 😄