|
|
2ea947 |
FROM morevnaproject/debian-i386:wheezy
|
|
|
1d4d1c |
ARG ALL_PROXY
|
|
|
10e43d |
|
|
|
38f35f |
# set available apt sources
|
|
|
38f35f |
COPY files/sources.list /etc/apt/sources.list
|
|
|
38f35f |
|
|
|
38f35f |
# update
|
|
|
10e43d |
RUN apt-get -yq update
|
|
|
10e43d |
|
|
|
38f35f |
# upgrade
|
|
|
10e43d |
RUN apt-get -yq upgrade
|
|
|
10e43d |
|
|
|
89a23b |
# update ca-certificates
|
|
|
89a23b |
RUN apt-get -yq purge ca-certificates
|
|
|
89a23b |
RUN apt-get -yq install ca-certificates
|
|
|
89a23b |
|
|
|
38f35f |
# install tools
|
|
|
89a23b |
RUN apt-get -yq install bash sudo pkg-config g++ make wget bzip2
|
|
|
10e43d |
|
|
|
38f35f |
# upgrade gcc
|
|
|
8e45a3 |
RUN apt-get -yq install libgmp-dev libmpfr-dev libmpc-dev gcc-multilib
|
|
|
38f35f |
COPY files/install-gcc.sh /
|
|
|
8e45a3 |
RUN setarch i686 /install-gcc.sh
|
|
|
1d4d1c |
|
|
|
38f35f |
# install tools
|
|
|
10e43d |
RUN apt-get -yq install csh
|
|
|
10e43d |
RUN apt-get -yq install xsltproc
|
|
|
69b66f |
RUN apt-get -yq install m4
|
|
|
1d4d1c |
RUN apt-get -yq install automake
|
|
|
1d4d1c |
RUN apt-get -yq install intltool
|
|
|
1d4d1c |
RUN apt-get -yq install libtool
|
|
|
d32e1c |
RUN apt-get -yq install git
|
|
|
dd482a |
|
|
|
38f35f |
# qt deps see: http://doc.qt.io/qt-5/linux-requirements.html
|
|
|
38f35f |
RUN apt-get -yq install libxrender-dev
|
|
|
38f35f |
RUN apt-get -yq install libfontconfig1-dev
|
|
|
38f35f |
RUN apt-get -yq install libfreetype6-dev
|
|
|
38f35f |
RUN apt-get -yq install libxi-dev
|
|
|
38f35f |
RUN apt-get -yq install libxext-dev
|
|
|
38f35f |
RUN apt-get -yq install libx11-dev
|
|
|
38f35f |
RUN apt-get -yq install libx11-xcb-dev
|
|
|
38f35f |
RUN apt-get -yq install libsm-dev
|
|
|
38f35f |
RUN apt-get -yq install libice-dev
|
|
|
38f35f |
RUN apt-get -yq install libglu1-mesa-dev
|
|
|
38f35f |
|
|
|
38f35f |
# other deps
|
|
|
38f35f |
RUN apt-get -yq install liblzma-dev
|
|
|
38f35f |
RUN apt-get -yq install liblzo2-dev
|
|
|
38f35f |
RUN apt-get -yq install libudev-dev
|
|
|
38f35f |
RUN apt-get -yq install libfuse-dev
|
|
|
38f35f |
RUN apt-get -yq install libdb-dev
|
|
|
38f35f |
RUN apt-get -yq install libasound2-dev
|
|
|
1d4d1c |
RUN apt-get -yq install libffi-dev
|
|
|
1d4d1c |
RUN apt-get -yq install libmount-dev
|
|
|
1d4d1c |
RUN apt-get -yq install libbz2-dev
|
|
|
1d4d1c |
RUN apt-get -yq install libdbus-1-dev
|
|
|
1d4d1c |
RUN apt-get -yq install libcroco3-dev
|
|
|
1d4d1c |
RUN apt-get -yq install flex
|
|
|
1d4d1c |
RUN apt-get -yq install bison
|
|
|
1d4d1c |
RUN apt-get -yq install python-dev
|
|
|
1d4d1c |
RUN apt-get -yq install libxtst-dev
|
|
|
1d4d1c |
RUN apt-get -yq install xutils-dev
|
|
|
1d4d1c |
RUN apt-get -yq install libegl1-mesa-dev
|
|
|
1d4d1c |
RUN apt-get -yq install libdirectfb-dev
|
|
|
012ddf |
RUN apt-get -yq install libxcursor-dev
|
|
|
1d4d1c |
|
|
|
b727d1 |
# wget cannot check SSL-certificate for some sites
|
|
|
b727d1 |
RUN apt-get -yq install curl
|
|
|
b727d1 |
|
|
|
38f35f |
# build dir
|
|
|
1d4d1c |
RUN mkdir /build
|