File: Dockerfile

package info (click to toggle)
falkon 25.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,324 kB
  • sloc: cpp: 66,939; javascript: 21,781; sh: 578; xml: 563; python: 496; sql: 75; makefile: 26
file content (50 lines) | stat: -rw-r--r-- 1,149 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Build:
#   docker build -t falkon-appimage-build .
# Run:
#   docker run -v $OUT_DIRECTORY:/out -it falkon-appimage-build $FALKON_TARBALL_URL

FROM centos:7

RUN yum -y install \
    wget \
    fontconfig \
    xz \
    openssl-devel \
    libX11-devel \
    xcb-util-devel \
    centos-release-scl \
    make \
    gettext \
    squashfs-tools \
    chrpath \
    which \
    mesa-libGL-devel \
    mesa-libEGL-devel \
    libXcomposite-devel \
    libXcursor-devel \
    alsa-lib-devel \
    libXi-devel \
    libXtst-devel \
    libXrandr-devel \
    xcb-util-keysyms-devel \
    gperf \
    flex \
    bison \
    libgcrypt-devel \
    systemd-devel

RUN yum -y install devtoolset-4-gcc-c++

RUN wget -O cmake-install https://cmake.org/files/v3.11/cmake-3.11.1-Linux-x86_64.sh && \
    chmod +x cmake-install && \
    ./cmake-install --skip-license --prefix=/usr && \
    rm cmake-install

COPY setup.sh /root/setup.sh
COPY qt-installer-noninteractive.qs /root/qt-installer-noninteractive.qs
RUN scl enable devtoolset-4 /root/setup.sh

COPY build.sh /root/build.sh
COPY build-appimage.sh /root/build-appimage.sh

ENTRYPOINT ["/root/build.sh"]