summaryrefslogtreecommitdiff
path: root/qa/Dockerfile
blob: 72c82503542ad951325a141e713cebf9dfaddee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM ruby:2.3
LABEL maintainer "Grzegorz Bizon <grzegorz@gitlab.com>"

RUN sed -i "s/httpredir.debian.org/ftp.us.debian.org/" /etc/apt/sources.list && \
    apt-get update && apt-get install -y --force-yes \
      libqt5webkit5-dev qt5-qmake qt5-default build-essential xvfb git && \
    apt-get clean

WORKDIR /home/qa

COPY ./Gemfile* ./

RUN bundle install

COPY ./ ./

ENTRYPOINT ["bin/test"]