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

ENV GITLAB_RELEASE CE

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 ./ ./
RUN bundle install

ENTRYPOINT ["bin/test"]