Docker image that contains a modified version of Parrot Olympe withouth a virtualenv
In order to run this container you'll need docker installed.
Python in the container
docker run -it --network host dpulpeiro/parrot-olympe:1.8.0-python3.7-slim-buster python
Shell in the container
docker run -it --network host dpulpeiro/parrot-olympe:1.8.0-python3.7-slim-buster bash
FROM dpulpeiro/parrot-olympe:1.8.0-python3.7-slim-buster
COPY your-requirements /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
Build your customized image
docker build -t your-image .
Usage with a shell in the root of your application
docker run -it --network host -v $PWD:/app your-image python your-main-file.py
Remember to use the option --network host
to be able to connect to your drone or parrot sphinx.
/olympe
- Olympe installation files/app
- Working directory
- Daniel García Pulpeiro - dpulpeiro
This project is licensed under the MIT License - see the LICENSE file for details.