File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 11# Dockerfile to build a Webdriver for QT5
2- # Check port mapping when running the container
3- # e.g:
4- # $ docker build --rm=true --no-cache -t latest:latest docker/
5- # $ docker run -ti --rm -p 9531:9517 latest:latest --verbose
2+ # Documentation: https://github.com/cisco-open-source/qtwebdriver/wiki/Docker
63
74FROM alexzaporozhets/ubuntu-qt5.4.2
85MAINTAINER Hugues Ekra <hekra@cisco.com>
96LABEL vendor="Cisco Systems"
107LABEL license="LGPLv2.1"
118LABEL version="1.3.3"
129
13- # Args
14- ARG QPA_PLATFORM
15-
1610# Env
1711ENV QTDIR "/opt/Qt5.4.2/5.4/gcc_64"
1812ENV QT_PLUGIN_PATH $QTDIR/plugins
19- ENV QT_QPA_PLATFORM ${QPA_PLATFORM:- offscreen}
13+ ENV QT_QPA_PLATFORM offscreen
2014ENV QT_QPA_FONTDIR /opt/Qt5.4.2/5.4/Src/qtbase/lib/fonts
2115WORKDIR /opt
2216
2317# Build
2418RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
2519 && sudo apt-get update && sudo apt-get install -y \
26- g++ gyp xvfb libicu-dev libegl1-mesa-dev libgles2-mesa-dev \
20+ g++ gyp xvfb xorg libicu-dev libegl1-mesa-dev libgles2-mesa-dev \
2721 && wget https://github.com/cisco-open-source/qtwebdriver/archive/WD_1.X_dev.zip \
28- && unzip WD_1.X_dev.zip && mv qtwebdriver-WD_1.X_dev qtwebdriver && cd qtwebdriver \
22+ && unzip WD_1.X_dev.zip \
23+ && mv qtwebdriver-WD_1.X_dev qtwebdriver \
24+ && cd qtwebdriver \
2925 && cp ./qt5_sample_config.gypi ./wd.gypi \
3026 && sed -i "s@\/ home\/ hekra01\/ qt@$QTDIR@g" wd.gypi \
3127 && ./build.sh
You can’t perform that action at this time.
0 commit comments