Dockerfile 703 Bytes
Newer Older
Johan Helsing's avatar
Johan Helsing committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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 \
16
        weston \
Johan Helsing's avatar
Johan Helsing committed
17 18 19 20 21 22 23 24
        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/
Johan Helsing's avatar
Johan Helsing committed
25

26
ENV QT_DOCKERTEST_QT5_REV=dev
27

28 29
ENV XDG_RUNTIME_DIR=/tmp
ENV QT_QPA_PLATFORM=wayland
30 31 32 33
ENV MAKEFLAGS=-j8

COPY scripts/ /home/build/scripts
CMD "./scripts/run.sh"