Last active
May 29, 2019 15:40
-
-
Save xoriole/0138382fc396f4d45451e58a98605630 to your computer and use it in GitHub Desktop.
IPv8 android service dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM triblertester/ipv8-p4a:latest | |
WORKDIR /home/user | |
#RUN rm -rf /home/user/.local/lib/python2.7/site-packages/pythonforandroid | |
RUN mkdir -p /home/user/.local/lib/python2.7/site-packages | |
RUN if test -L /home/user/.local/lib/python2.7/site-packages/pythonforandroid; then ln -s /home/user/pythonforadnroid /home/user/.local/lib/python2.7/site-packages/pythonforandroid; fi | |
RUN rm -rf /home/user/ipv8-android-service && git clone https://github.com/Tribler/ipv8-android-service.git && cp -r ipv8-android-service/recipes/* ~/pythonforandroid/recipes | |
RUN virtualenv --python=python3 venv \ | |
&& . venv/bin/activate \ | |
&& pip3 install -e . | |
WORKDIR /home/user/ipv8-android-service | |
RUN . /home/user/venv/bin/activate | |
RUN . /home/user/venv/bin/activate && ./build.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker build --tag=docker-ipv8-android-service --file Dockerfile .