Project Drohnen: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
No edit summary
Line 13: Line 13:


Create docker image
Create docker image
Opened issue https://github.com/opentx/opentx/issues/6773 to get rid of the sed requirement below


  mkdir opentx
  mkdir opentx
  cd opentx
  cd opentx
  wget https://github.com/opentx/opentx/raw/2.2/radio/util/Dockerfile
  wget https://github.com/opentx/opentx/raw/2.2/radio/util/Dockerfile
sed -i 's@/debian/pool@/debian-archive/debian/pool@' Dockerfile
  docker build -t opentx
  docker build -t opentx
 
docker run
This currently does not work.
Opened issue https://github.com/opentx/opentx/issues/6773

Revision as of 16:08, 14 September 2019

Drohnen

Taranis Q X7

Docker Build Environment

A build is only fully supported with some debian environments (see OpenTX 2.2 Linux Build Instructions). Using docker to solve this for opensuse:

sudo zypper in docker
sudo systemctl start docker
sudo usermod joachim -a -G docker

Create docker image

Opened issue https://github.com/opentx/opentx/issues/6773 to get rid of the sed requirement below

mkdir opentx
cd opentx
wget https://github.com/opentx/opentx/raw/2.2/radio/util/Dockerfile
sed -i 's@/debian/pool@/debian-archive/debian/pool@' Dockerfile
docker build -t opentx
docker run