mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
updated setup, added maintainer
This commit is contained in:
parent
6db56b8df0
commit
6ab1f21680
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Base ROS Indigo
|
||||
# PX4 ROS base container
|
||||
#
|
||||
# TODO
|
||||
# - use https://github.com/phusion/baseimage-docker as base
|
||||
@ -8,7 +8,7 @@
|
||||
#
|
||||
|
||||
FROM ubuntu:14.04.1
|
||||
MAINTAINER Andreas Antener "andreas@uaventure.com"
|
||||
MAINTAINER Andreas Antener <andreas@uaventure.com>
|
||||
|
||||
# Install basics
|
||||
## Use the "noninteractive" debconf frontend
|
||||
@ -48,14 +48,13 @@ RUN apt-get -y install ros-indigo-octomap-msgs
|
||||
# && apt-get -y install drcsim
|
||||
|
||||
# Install x11-utils to get xdpyinfo, for X11 display debugging
|
||||
# mesa-utils provides glxinfo, handy for understanding the 3D support.
|
||||
#RUN apt-get -y install x11-utils
|
||||
#RUN apt-get -y install mesa-utils
|
||||
# mesa-utils provides glxinfo, handy for understanding the 3D support
|
||||
RUN apt-get -y install x11-utils mesa-utils
|
||||
|
||||
# Some QT-Apps/Gazebo don't not show controls without this
|
||||
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
|
||||
#RUN chmod +x /root/scripts/setup-workspace.sh
|
||||
|
||||
@ -4,6 +4,8 @@
|
||||
#
|
||||
# Vagrantfile to create docker-host-base
|
||||
#
|
||||
# Maintainer: Andreas Antener <andreas@uaventure.com>
|
||||
#
|
||||
# After build, do "vagrant package --base docker-host-base" to package,
|
||||
# and import as box: "vagrant box add --name docker-host-base package.box"
|
||||
#
|
||||
|
||||
2
Tools/ros/vagrant/docker-host/Vagrantfile
vendored
2
Tools/ros/vagrant/docker-host/Vagrantfile
vendored
@ -4,6 +4,8 @@
|
||||
#
|
||||
# Actual docker host VM to run.
|
||||
#
|
||||
# Maintainer: Andreas Antener <andreas@uaventure.com>
|
||||
#
|
||||
Vagrant.configure(2) do |config|
|
||||
config.vm.box = "docker-host-base"
|
||||
|
||||
|
||||
8
Tools/ros/vagrant/px4-ros/Vagrantfile
vendored
8
Tools/ros/vagrant/px4-ros/Vagrantfile
vendored
@ -4,7 +4,9 @@
|
||||
#
|
||||
# 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:
|
||||
# (will change, need proper docs)
|
||||
@ -33,8 +35,8 @@ Vagrant.configure(2) do |config|
|
||||
config.vm.define "ros" do |app|
|
||||
app.vm.provider "docker" do |d|
|
||||
d.name = "ros"
|
||||
#d.image = "px4ros/ros-base:no-drcsim"
|
||||
d.build_dir = "../../docker/px4-ros"
|
||||
#d.image = "px4ros/ros-base"
|
||||
d.build_dir = "../../docker/px4-ros-base"
|
||||
d.build_args = ["-t=px4ros/ros-base:no-drcsim"]
|
||||
|
||||
# Share docker host x11 socket
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user