mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
ee12e01939
Update JSON build dependencies, change the dockerfile and other CI files that relate to this. Also update target mtxclient revision.
40 lines
1 KiB
Docker
40 lines
1 KiB
Docker
FROM ubuntu:bionic
|
|
|
|
RUN \
|
|
apt-get update -qq && \
|
|
apt-get install -y software-properties-common && \
|
|
add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
|
|
apt-get update -qq && \
|
|
apt-get install -y \
|
|
qtbase5-dev qttools5-dev libqt5svg5-dev qtmultimedia5-dev \
|
|
gcc-5 g++-5
|
|
|
|
RUN \
|
|
apt-get install -y \
|
|
nlohmann-json-dev \
|
|
make \
|
|
pkg-config \
|
|
ninja-build \
|
|
libsodium-dev \
|
|
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"
|
|
|
|
ENV PATH=/opt/qt510/bin:$PATH
|
|
|
|
RUN mkdir /build
|
|
|
|
WORKDIR /build
|