|
|
efc424 |
FROM fedora:22
|
|
|
afefb6 |
MAINTAINER Konstantin Dmitriev <ksee.zelgadis@gmail.com></ksee.zelgadis@gmail.com>
|
|
|
afefb6 |
|
|
|
afefb6 |
#VOLUME /synfig-buildroot
|
|
|
afefb6 |
|
|
|
efc424 |
#RUN dnf -y update
|
|
|
afefb6 |
|
|
|
efc424 |
RUN dnf -y install git sudo
|
|
|
afefb6 |
|
|
|
efc424 |
RUN dnf -y install intltool autoconf automake libtool libtool-ltdl-devel
|
|
|
afefb6 |
|
|
|
efc424 |
RUN dnf -y install mingw32-gcc-c++ mingw32-cpp
|
|
|
afefb6 |
|
|
|
efc424 |
RUN dnf -y install mingw32-adwaita-icon-theme mingw32-hicolor-icon-theme mingw32-libxml++ mingw32-cairo mingw32-pango mingw32-boost mingw32-libjpeg-turbo mingw32-gtkmm30 mingw32-glibmm24 mingw32-libltdl mingw32-dlfcn mingw32-SDL mingw32-fftw
|
|
|
afefb6 |
|
|
|
efc424 |
RUN dnf -y install mingw64-gcc-c++ mingw64-cpp
|
|
|
afefb6 |
|
|
|
efc424 |
RUN dnf -y install mingw64-adwaita-icon-theme mingw64-hicolor-icon-theme mingw64-libxml++ mingw64-cairo mingw64-pango mingw64-boost mingw64-libjpeg-turbo mingw64-gtkmm30 mingw64-glibmm24 mingw64-libltdl mingw64-dlfcn mingw64-SDL mingw64-fftw
|
|
|
afefb6 |
|
|
|
efc424 |
RUN dnf -y install mingw32-nsis
|
|
|
afefb6 |
|
|
|
efc424 |
RUN dnf -y install p7zip ImageMagick
|
|
|
afefb6 |
|
|
|
efc424 |
RUN dnf -y install make wget xz which
|
|
|
afefb6 |
|
|
|
efc424 |
#RUN dnf -y install synfig
|
|
|
afefb6 |
|
|
|
97a48b |
RUN cd /opt && git clone https://gitlab.com/morevnaproject-builds/synfig-linux64
|
|
|
97a48b |
COPY files/synfig /usr/local/bin/synfig
|
|
|
97a48b |
RUN chmod +x /usr/local/bin/synfig
|
|
|
97a48b |
|
|
|
efc424 |
RUN dnf -y install unzip zip
|
|
|
290cd6 |
|
|
|
efc424 |
RUN dnf -y install dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts
|
|
|
290cd6 |
|
|
|
290cd6 |
# deps for synfig appimage
|
|
|
efc424 |
RUN dnf -y install fuse fuse-libs bzip2 bzip2-libs libXdmcp
|
|
|
efc424 |
|
|
|
3b09af |
# native build tools
|
|
|
3b09af |
RUN dnf -y install gcc gcc-c++ make automake autoconf flex
|
|
|
3b09af |
RUN dnf -y install bison
|
|
|
3b09af |
RUN dnf -y install zlib-devel
|
|
|
3b09af |
RUN dnf -y install libffi-devel
|
|
|
3b09af |
RUN dnf -y install libmount-devel
|
|
|
3b09af |
RUN dnf -y install python2-devel
|
|
|
3b09af |
RUN dnf -y install xorg-x11-util-macros
|
|
|
3b09af |
RUN dnf -y install mesa-libEGL-devel
|
|
|
3b09af |
RUN dnf -y install freetype-devel
|
|
|
3b09af |
RUN dnf -y install expat-devel
|
|
|
3b09af |
RUN dnf -y install libXi-devel
|
|
|
3b09af |
RUN dnf -y install dbus-devel
|
|
|
3b09af |
RUN dnf -y install libXtst-devel
|
|
|
3b09af |
RUN dnf -y install bzip2-devel
|
|
|
3b09af |
|
|
|
cf8c28 |
# additional mingw build tools
|
|
|
cf8c28 |
RUN dnf -y install mingw64-gcc-gfortran
|
|
|
cf8c28 |
RUN dnf -y install mingw32-gcc-gfortran
|
|
|
cf8c28 |
|
|
|
3b09af |
# great!
|
|
|
3b09af |
RUN rm /usr/local/bin/synfig
|
|
|
3b09af |
|
|
|
5dfa59 |
|
|
|
afefb6 |
#RUN groupadd -g 1111 konstantin && useradd -u 1111 -g konstantin konstantin
|
|
|
afefb6 |
|
|
|
afefb6 |
#RUN groupadd sudo && usermod -aG sudo konstantin
|
|
|
afefb6 |
|
|
|
afefb6 |
#USER konstantin
|
|
|
afefb6 |
|
|
|
afefb6 |
CMD ["/bin/bash"]
|