Browse Source

updated setup, added maintainer

sbg
Andreas Antener 10 years ago
parent
commit
6ab1f21680
  1. 11
      Tools/ros/docker/px4-ros-base/Dockerfile
  2. 0
      Tools/ros/docker/px4-ros-base/scripts/setup-workspace.sh
  3. 2
      Tools/ros/vagrant/docker-host-base/Vagrantfile
  4. 2
      Tools/ros/vagrant/docker-host/Vagrantfile
  5. 8
      Tools/ros/vagrant/px4-ros/Vagrantfile

11
Tools/ros/docker/px4-ros/Dockerfile → Tools/ros/docker/px4-ros-base/Dockerfile

@ -1,5 +1,5 @@
# #
# Base ROS Indigo # PX4 ROS base container
# #
# TODO # TODO
# - use https://github.com/phusion/baseimage-docker as base # - use https://github.com/phusion/baseimage-docker as base
@ -8,7 +8,7 @@
# #
FROM ubuntu:14.04.1 FROM ubuntu:14.04.1
MAINTAINER Andreas Antener "andreas@uaventure.com" MAINTAINER Andreas Antener <andreas@uaventure.com>
# Install basics # Install basics
## Use the "noninteractive" debconf frontend ## Use the "noninteractive" debconf frontend
@ -48,14 +48,13 @@ RUN apt-get -y install ros-indigo-octomap-msgs
# && apt-get -y install drcsim # && apt-get -y install drcsim
# Install x11-utils to get xdpyinfo, for X11 display debugging # Install x11-utils to get xdpyinfo, for X11 display debugging
# mesa-utils provides glxinfo, handy for understanding the 3D support. # mesa-utils provides glxinfo, handy for understanding the 3D support
#RUN apt-get -y install x11-utils RUN apt-get -y install x11-utils mesa-utils
#RUN apt-get -y install mesa-utils
# Some QT-Apps/Gazebo don't not show controls without this # Some QT-Apps/Gazebo don't not show controls without this
ENV QT_X11_NO_MITSHM 1 ENV QT_X11_NO_MITSHM 1
# FIXME: this doesn't work yet when building from vagrant # FIXME: this doesn't work when building from vagrant
COPY scripts/setup-workspace.sh /root/scripts COPY scripts/setup-workspace.sh /root/scripts
#RUN chmod +x /root/scripts/setup-workspace.sh #RUN chmod +x /root/scripts/setup-workspace.sh

0
Tools/ros/docker/px4-ros/scripts/setup-workspace.sh → Tools/ros/docker/px4-ros-base/scripts/setup-workspace.sh

2
Tools/ros/vagrant/docker-host-base/Vagrantfile vendored

@ -4,6 +4,8 @@
# #
# Vagrantfile to create docker-host-base # Vagrantfile to create docker-host-base
# #
# Maintainer: Andreas Antener <andreas@uaventure.com>
#
# After build, do "vagrant package --base docker-host-base" to package, # After build, do "vagrant package --base docker-host-base" to package,
# and import as box: "vagrant box add --name docker-host-base package.box" # and import as box: "vagrant box add --name docker-host-base package.box"
# #

2
Tools/ros/vagrant/docker-host/Vagrantfile vendored

@ -4,6 +4,8 @@
# #
# Actual docker host VM to run. # Actual docker host VM to run.
# #
# Maintainer: Andreas Antener <andreas@uaventure.com>
#
Vagrant.configure(2) do |config| Vagrant.configure(2) do |config|
config.vm.box = "docker-host-base" config.vm.box = "docker-host-base"

8
Tools/ros/vagrant/px4-ros/Vagrantfile vendored

@ -4,7 +4,9 @@
# #
# Boot docker SITL environment # Boot docker SITL environment
# #
# "vagrant up" will build the images. Should start "xterm" in the end. # Maintainer: Andreas Antener <andreas@uaventure.com>
#
# "vagrant up" will build the images. Should eventually start "xterm" from within the docker container.
# #
# Notes: # Notes:
# (will change, need proper docs) # (will change, need proper docs)
@ -33,8 +35,8 @@ Vagrant.configure(2) do |config|
config.vm.define "ros" do |app| config.vm.define "ros" do |app|
app.vm.provider "docker" do |d| app.vm.provider "docker" do |d|
d.name = "ros" d.name = "ros"
#d.image = "px4ros/ros-base:no-drcsim" #d.image = "px4ros/ros-base"
d.build_dir = "../../docker/px4-ros" d.build_dir = "../../docker/px4-ros-base"
d.build_args = ["-t=px4ros/ros-base:no-drcsim"] d.build_args = ["-t=px4ros/ros-base:no-drcsim"]
# Share docker host x11 socket # Share docker host x11 socket

Loading…
Cancel
Save