-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (27 loc) · 792 Bytes
/
Dockerfile
File metadata and controls
32 lines (27 loc) · 792 Bytes
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
FROM ubuntu:18.04
MAINTAINER Reto Hasler <reto.hasler@asciich.ch>
ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
RUN echo "Europe/Zurich" > /etc/timezone && \
apt-get update && \
apt-get install -y \
python-dev \
python-opencv \
python-wxgtk3.0 \
python-pip \
python-matplotlib \
python-pygame \
python-lxml \
python-yaml \
&& \
apt-get clean all
RUN pip install --upgrade pip
RUN pip install --upgrade setuptools && \
pip install --upgrade MAVProxy
COPY ./files/* /
RUN for SCRIPT in $(ls /*.sh) ; do \
chmod +x ${SCRIPT} && \
DEST=$(echo $SCRIPT | sed 's#.sh##g') && \
mv -v ${SCRIPT} /usr/bin/${DEST} \
; done && \
mkdir -p /var/log/mavproxy/