|
|
1b5f3d |
FROM debian:7
|
|
|
ce0d6b |
ARG ALL_PROXY
|
|
|
1b5f3d |
|
|
|
38f35f |
# set available apt sources
|
|
|
38f35f |
COPY files/sources.list /etc/apt/sources.list
|
|
|
38f35f |
|
|
|
38f35f |
# update
|
|
|
1b5f3d |
RUN apt-get -yq update
|
|
|
1b5f3d |
|
|
|
38f35f |
# upgrade
|
|
|
1b5f3d |
RUN apt-get -yq upgrade
|
|
|
1b5f3d |
|
|
|
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
|
|
|
e14835 |
|
|
|
38f35f |
# upgrade gcc
|
|
|
8e45a3 |
RUN apt-get -yq install libgmp-dev libmpfr-dev libmpc-dev gcc-multilib
|
|
|
38f35f |
COPY files/install-gcc.sh /
|
|
|
38f35f |
RUN /install-gcc.sh
|
|
|
ce0d6b |
|
|
|
89a23b |
# install mingw
|
|
|
89a23b |
COPY files/install-mingw.sh /
|
|
|
89a23b |
RUN /install-mingw.sh
|
|
|
89a23b |
|
|
|
38f35f |
# install tools
|
|
|
e14835 |
RUN apt-get -yq install csh
|
|
|
e14835 |
RUN apt-get -yq install xsltproc
|
|
|
69b66f |
RUN apt-get -yq install m4
|
|
|
ce0d6b |
RUN apt-get -yq install automake
|
|
|
ce0d6b |
RUN apt-get -yq install intltool
|
|
|
ce0d6b |
RUN apt-get -yq install libtool
|
|
|
d32e1c |
RUN apt-get -yq install git
|
|
|
1b5f3d |
|
|
|
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
|
|
|
ce0d6b |
RUN apt-get -yq install libffi-dev
|
|
|
ce0d6b |
RUN apt-get -yq install libmount-dev
|
|
|
ce0d6b |
RUN apt-get -yq install libbz2-dev
|
|
|
ce0d6b |
RUN apt-get -yq install libdbus-1-dev
|
|
|
ce0d6b |
RUN apt-get -yq install libcroco3-dev
|
|
|
ce0d6b |
RUN apt-get -yq install flex
|
|
|
ce0d6b |
RUN apt-get -yq install bison
|
|
|
ce0d6b |
RUN apt-get -yq install python-dev
|
|
|
ce0d6b |
RUN apt-get -yq install libxtst-dev
|
|
|
ce0d6b |
RUN apt-get -yq install xutils-dev
|
|
|
ce0d6b |
RUN apt-get -yq install libegl1-mesa-dev
|
|
|
1d4d1c |
RUN apt-get -yq install libdirectfb-dev
|
|
|
012ddf |
RUN apt-get -yq install libxcursor-dev
|
|
|
ce0d6b |
|
|
|
b727d1 |
# wget cannot check SSL-certificate for some sites
|
|
|
b727d1 |
RUN apt-get -yq install curl
|
|
|
b727d1 |
|
|
|
b727d1 |
# for synfigstudio-nsis
|
|
|
b727d1 |
RUN apt-get -yq install unzip
|
|
|
b727d1 |
|
|
|
38f35f |
# build dir
|
|
|
ce0d6b |
RUN mkdir /build
|