-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·52 lines (43 loc) · 1.23 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Dockerfile for ardupilot on Alpine Linux with MAVSim (http://mavsim.info)
#
# This is for ArduPlane (fixed-wing aircraft using JSBSim)
#
# Designed for Research & Development on the ArduPilot SITL simulation
#
# Copyright (C)2017 PARC, a Xerox company
# Licensed under GPL, Version 3
#
FROM gmyoungbloodparc/ardupilot-sitl:latest
MAINTAINER Michael Youngblood <[email protected]>
#
#
#########################################################################################
ENV INSTANCE mavsim
ENV SESSION jeff
EXPOSE 22
EXPOSE 10000-10001
EXPOSE 14550-14559
RUN apk update && apk add --no-cache \
openssl \
openssh \
py-psycopg2 \
py-yaml \
bash \
vim
RUN pip install sqlalchemy \
geopy
ADD mavsim_run.sh /
RUN chmod +x /mavsim_run.sh
# Get MAVSim from public repository
WORKDIR "/"
RUN git clone https://gitlab.com/gmyoungblood-parc/mavsim-public.git
RUN mv /mavsim-public /mavsim
# Execution Setup for sim_vehicle autorun
ENV ENV="/etc/profile"
ENV SIM_OPTIONS "--out=udpout:docker.for.mac.localhost:14559 --out=udpout:0.0.0.0:14553"
ENV SPEEDUP 1
ENV LOGGING_DATABASE "postgresql://postgres:[email protected]:33121/apm_missions"
ENV MAVSIM_OPTIONS ""
# WORKDIR "/mavsim"
ENTRYPOINT ["/mavsim_run.sh"]
# fin.