Change-Id: Ia9862cfed93fd1f68ce96d4839631926e6d25764
RUN apt-get install -y openjdk-8-jre-headless wget git
RUN useradd -d /jenkins -m -s /bin/bash -u 12001 -U jenkins
COPY start.sh /jenkins
-RUN apt-get install -y mysql-server mysql-client postgresql-9.6 postgresql-client-9.6 apache2 libapache2-mod-php7.0 php7.0-mcrypt php7.0-mysql php7.0-pgsql phpunit
+RUN apt-get install -y mariadb-server mariadb-client postgresql-9.6 postgresql-client-9.6 apache2 libapache2-mod-php7.0 php7.0-mcrypt php7.0-mysql php7.0-pgsql phpunit
CMD /bin/bash
RUN apt-get install -y openjdk-7-jre-headless wget git
RUN useradd -d /jenkins -m -s /bin/bash -u 12001 -U jenkins
COPY start.sh /jenkins
-RUN apt-get install -y libfontconfig1 libfreetype6 libx11-6 libxext6 libxfixes3 libxi6 libsm6 libice6 libdbus-1-3 libxrender1 libxcb1 libx11-xcb1 libxcb-glx0 libglib2.0-0 libstdc++6 zlib1g-dev libgcc1 libpcre3 libegl1-mesa libgl1-mesa-glx libgl1-mesa-dev libuuid1 libxau6 libxdmcp6 libexpat1 libpng12-0 libgbm1 libdrm2 libglapi-mesa libffi6 libudev-dev g++ gcc make doxygen qtchooser chrpath patchelf zip
+RUN apt-get install -y libfontconfig1 libfreetype6 libx11-6 libxext6 libxfixes3 libxi6 libsm6 libice6 libdbus-1-3 libxrender1 libxcb1 libx11-xcb1 libxcb-glx0 libglib2.0-0 libstdc++6 zlib1g-dev libgcc1 libpcre3 libegl1-mesa libgl1-mesa-glx libgl1-mesa-dev libuuid1 libxau6 libxdmcp6 libexpat1 libpng12-0 libgbm1 libdrm2 libglapi-mesa libffi6 libudev-dev g++ gcc make doxygen qtchooser chrpath patchelf zip autoconf automake gettext
CMD /bin/bash
wget $1/jnlpJars/slave.jar
chmod 644 slave.jar
+test -d /home/konrad/.config/qtchooser && {
+ mkdir -p /jenkins/.config
+ ln -sf /home/konrad/.config/qtchooser /jenkins/.config/qtchooser
+ echo "Just Linked Qt-Chooser Dir."
+} || echo "Qt-Chooser Dir not Found, not Linking it."
su jenkins -c "nice java -jar slave.jar"