Commit 110a2503 authored by Johan Helsing's avatar Johan Helsing

Initial commit

parents
FROM debian:stretch
RUN apt-get update && apt-get install -y \
build-essential \
chrpath \
cpio \
diffstat \
gcc-multilib \
git-core \
libsdl1.2-dev \
libwayland-dev \
python-crypto \
socat \
texinfo \
unzip \
vim \
wget
RUN id build 2>/dev/null || useradd --uid 1000 --create-home build
RUN apt-get -y install sudo
RUN echo "build ALL=(ALL) NOPASSWD: ALL" | tee -a /etc/sudoers
USER build
WORKDIR /home/build/
ENV MAKEFLAGS=-j9
COPY clone-qt.sh /home/build
RUN ./clone-qt.sh
COPY build-qt.sh /home/build
RUN ./build-qt.sh
CMD "/bin/bash"
# Docker container for running Qt auto-tests
#!/bin/bash
mkdir build-qt
cd build-qt
../qt5/configure -opensource -confirm-license -developer-build -no-xcb -feature-wayland-client && make module-qtwayland
#!/bin/bash
branch=5.11 #maybe set this from the Dockerfile
rm -rf qt5
git clone --depth 1 --branch $branch git://code.qt.io/qt/qt5.git
cd qt5
git submodule update --init -- qtbase qtxmlpatterns qtdeclarative qtwayland
cd qtwayland
git checkout $branch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment