File: dockerfile

package info (click to toggle)
warzone2100 4.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 660,320 kB
  • sloc: cpp: 676,209; ansic: 391,201; javascript: 78,238; python: 16,632; php: 4,294; sh: 4,094; makefile: 2,629; lisp: 1,492; cs: 489; xml: 404; perl: 224; ruby: 156; java: 89
file content (21 lines) | stat: -rw-r--r-- 1,006 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM ubuntu

RUN apt-get -u update && apt-get -y install \
    autoconf automake autopoint bash bison bzip2 flex gettext\
    git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
    libtool libtool-bin libltdl-dev libssl-dev libxml-parser-perl make \
    p7zip-full patch perl pkg-config python ruby scons \
    sed unzip wget xz-utils cmake asciidoc nsis ninja-build

RUN git clone https://github.com/mxe/mxe.git

RUN cd mxe && make -j 2 JOBS=4 gcc zlib bfd gettext jpeg libpng ogg vorbis openal theora qt5 sdl2 physfs glew freetype fontconfig fribidi libiberty harfbuzz
RUN cp /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf /mxe/usr/i686-w64-mingw32.static/etc/fonts/
RUN cp /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf /mxe/usr/i686-w64-mingw32.static/etc/fonts/

ENV PATH "/mxe/usr/bin:$PATH"
ENV PKG_CONFIG_PATH "/mxe/usr/i686-w64-mingw32.static/lib/pkgconfig:/mxe/usr/i686-w64-mingw32.static/qt5/lib/pkgconfig"
ENV PREFIX "/mxe/usr/i686-w64-mingw32.static/"
WORKDIR /code
CMD ["sh"]