Skip to content
Snippets Groups Projects
Select Git revision
  • 791a01487baba3d3f3965267ef545057b3f02b09
  • master default protected
  • test-ci protected
  • gh-readonly-queue/master/pr-1942-ba9fab78d5081d1ede6f045d321fb731640b8f79
  • update_hunter protected
  • pr-1855/Integral-Tech/nheko/fix-html
  • pr-1838/ReillyBrogan/nheko/nheko-optional-kirigami
  • gh-readonly-queue/master/pr-1825-27683bedc41375ac97ddf87ce430fd98aac9fc7c
  • pr-1815/p12tic/nheko/workaround-bad-well-known
  • hideAllPins
  • pr-1760/nishanthkarthik/nheko/theme
  • pr-1732/nishanthkarthik/nheko/search-space
  • pr-1728/Bubu/nheko/scrollable_welcome_page
  • fixCirrusCI
  • pr-1725/checkraisefold/nheko/win_d3d11_qml
  • pr-1719/Lymkwi/nheko/feature/media-captioning
  • betterimageview
  • win_d3d11_qml
  • fixswitch
  • glitchtext
  • gitlab_as_runner protected
  • v0.12.1-1 protected
  • v0.12.1 protected
  • v0.12.0 protected
  • v0.11.3 protected
  • v0.11.2 protected
  • v0.11.1 protected
  • v0.11.0 protected
  • v0.10.2 protected
  • v0.10.1-1 protected
  • v0.10.1 protected
  • v0.10.0 protected
  • v0.9.3 protected
  • v0.9.2 protected
  • v0.9.1-1 protected
  • v0.9.1 protected
  • v0.9.0 protected
  • v0.8.2 protected
  • v0.8.2-rc2 protected
  • v0.8.2-RC protected
  • v0.8.1 protected
41 results

Dockerfile

Blame
  • user avatar
    Benedikt Bongartz authored and Nicolas Werner committed
    7f417521
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Dockerfile 1.34 KiB
    FROM ubuntu:trusty
    
    RUN \
        apt-get update -qq && \
        apt-get install -y software-properties-common && \
        add-apt-repository -y ppa:beineri/opt-qt-5.10.1-trusty && \
        add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
        apt-get update -qq && \
        apt-get install -y \
            qt510base qt510tools qt510svg qt510multimedia qt510quickcontrols2 qt510graphicaleffects \
            gcc-5 g++-5
    
    RUN \
        apt-get install -y \
            make \
            pkg-config \
            ninja-build \
            liblmdb-dev \
            libssl-dev \
            mesa-common-dev \
            wget \
            fuse \
            git
    
    RUN \
        wget https://cmake.org/files/v3.12/cmake-3.12.2-Linux-x86_64.sh && \
        sh cmake-3.12.2-Linux-x86_64.sh  --skip-license  --prefix=/usr/local
    
    RUN \
        update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 10 && \
        update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 10 && \
        update-alternatives --set gcc "/usr/bin/gcc-5" && \
        update-alternatives --set g++ "/usr/bin/g++-5"
    
    RUN \
        mkdir libsodium-1.0.14 && \
        wget https://download.libsodium.org/libsodium/releases/old/libsodium-1.0.14.tar.gz && \
        tar -xzvf libsodium-1.0.14.tar.gz -C libsodium-1.0.14 && \
        cd libsodium-1.0.14/libsodium-1.0.14 && \
        ./configure && \
        make && make install
    
    ENV PATH=/opt/qt510/bin:$PATH
    
    RUN mkdir /build
    
    WORKDIR /build