Skip to content

ryanbauman/docker-redhawk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REDHAWK docker

A basic Docker image of a REDHAWK development environment.

The image can be pulled from the Docker Hub Registry

The default command for this image runs a bash shell as the 'redhawk' user. This is a privileged user and is not required to authenticate when running 'sudo' so that the container may be customized.

docker run -i -t ryanbauman/redhawk

The image comes with the omniNames and omniEvents servers installed and configured. Start them with:

sudo service omniNames start
sudo service omniEvents start

#REDHAWK IDE support The REDHAWK IDE has been intentionally omitted from the yum repository this image draws from. To enable IDE support in your docker container, download the standalone IDE from sourceforge and invoke the image appropriately.

If you are on an SELinux enabled host, assign the appropriate context to the /tmp/.X11-unix directory as described here:

chcon -Rt svirt_sandbox_file_t /tmp/.X11-unix

Additionally, disable xhost access control:

xhost +

Run the image and mount the volume to the container. Additionally, set the display environment variable:

docker run -i -t --volume=/tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY ryanbauman/redhawk

At the shell prompt, retrieve the REDHAWK IDE from sourceforge and unpack it:

curl -L http://sourceforge.net/projects/redhawksdr/files/redhawk/1.10.2/el6/x86_64/redhawk-ide-1.10.2.R201501300031-linux.gtk.x86_64.tar.gz | tar zx

Install minimal gtk support:

sudo yum install -y PackageKit-gtk-module libcanberra-gtk2

Verify that the REDHAWK IDE can be launched and displays correctly on the host system:

./eclipse/eclipse &

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published