Dockerfile cosmetics

This commit is contained in:
Bertrand Songis
2016-03-30 18:51:42 +02:00
parent 7076889e1a
commit e4d820b11e
+28 -27
View File
@@ -1,33 +1,34 @@
# An Debian image for compiling OpenTX 2.2 # An Debian image for compiling OpenTX 2.2
FROM debian:jessie FROM debian:jessie
MAINTAINER bsongis
RUN apt-get update && apt-get install -y \ RUN apt-get update && \
software-properties-common \ apt-get install -y \
wget \ avr-libc \
lib32z1 \ build-essential \
lib32ncurses5 \ cmake \
git \ gcc \
cmake \ git \
gcc \ lib32ncurses5 \
avr-libc \ lib32z1 \
build-essential \ libfox-1.6-dev \
libfox-1.6-dev \ libsdl1.2-dev \
python-qt4 \ python-qt4 \
qt5-default \ qt5-default \
qttools5-dev \ qtmultimedia5-dev \
qtmultimedia5-dev \ qttools5-dev \
qttools5-dev-tools \ qttools5-dev-tools \
libsdl1.2-dev software-properties-common \
wget
RUN wget -q https://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q3-update/+download/gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2 && \ RUN wget -q https://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q3-update/+download/gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2 && \
tar xjf gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2 && \ tar xjf gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2 && \
mv gcc-arm-none-eabi-4_7-2013q3 /opt/gcc-arm-none-eabi mv gcc-arm-none-eabi-4_7-2013q3 /opt/gcc-arm-none-eabi
RUN wget -q http://ftp.de.debian.org/debian/pool/main/g/gcc-avr/gcc-avr_4.7.2-2_amd64.deb && \ RUN wget -q http://ftp.de.debian.org/debian/pool/main/g/gcc-avr/gcc-avr_4.7.2-2_amd64.deb && \
wget -q http://ftp.de.debian.org/debian/pool/main/m/mpclib/libmpc2_0.9-4_amd64.deb && \ wget -q http://ftp.de.debian.org/debian/pool/main/m/mpclib/libmpc2_0.9-4_amd64.deb && \
dpkg -i gcc-avr_4.7.2-2_amd64.deb libmpc2_0.9-4_amd64.deb dpkg -i gcc-avr_4.7.2-2_amd64.deb libmpc2_0.9-4_amd64.deb
VOLUME ["/opentx"] VOLUME ["/opentx"]
ENV PATH $PATH:/opt/gcc-arm-none-eabi/bin:/opentx/code/radio/util
ENV PATH $PATH:/opt/gcc-arm-none-eabi/bin:/opentx/code/radio/util