Skip to content

dpulpeiro/parrot-olympe-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Parrot Olympe Docker

Docker image that contains a modified version of Parrot Olympe withouth a virtualenv

Getting Started

Prerequisities

In order to run this container you'll need docker installed.

Usage

Container Parameters

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

Example of customized dockerfile and usage for your app

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.

Useful File Locations

  • /olympe - Olympe installation files
  • /app - Working directory

Find Us

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Docker image that contains a plain installation of Parrot Olympe

Topics

Resources

License

Stars

Watchers

Forks