Warning, /pim/kube/docker/Dockerfile is written in an unsupported language. File is not indexed.
0001 FROM fedora:37 0002 0003 RUN dnf -y update 0004 0005 RUN dnf -y install gcc-c++ git doxygen cmake bzr vim tar make ninja-build clang procps-ng libcxx-devel sudo rsyslog llvm \ 0006 extra-cmake-modules qt5-qtbase-devel libgit2-devel lmdb-devel libcurl-devel xapian-core-devel flatbuffers-devel \ 0007 gdb xterm perf valgrind strace kcachegrind dbus-x11 gammaray heaptrack hotspot \ 0008 qt5-qtquickcontrols qt5-qtquickcontrols2-devel qt5-qtwebengine-devel qt5-qtxmlpatterns-devel \ 0009 kf5-ki18n-devel kf5-kcodecs-devel kf5-kcontacts-devel kf5-kmime-devel gpgme-devel kf5-kcalendarcore-devel \ 0010 cyrus-imapd cyrus-sasl cyrus-sasl-devel cyrus-sasl-plain gnupg2-smime pinentry-gtk \ 0011 google-noto-serif-fonts google-noto-sans-fonts \ 0012 xorg-x11-server-Xvfb qt5ct binutils-devel libzstd-devel mold 0013 0014 RUN useradd -d /home/developer -m developer 0015 0016 ADD rsyslog.conf /etc/rsyslog.conf 0017 #Setup cyrus imap 0018 ADD imapd.conf /etc/imapd.conf 0019 RUN usermod -p `perl -e "print crypt("admin","Q4")"` cyrus 0020 RUN useradd -p `perl -e "print crypt("doe","Q4")"` doe 0021 RUN /usr/bin/sscg --package cyrus-imapd --cert-file /etc/pki/cyrus-imapd/cyrus-imapd.pem --cert-key-file /etc/pki/cyrus-imapd/cyrus-imapd-key.pem --ca-file /etc/pki/cyrus-imapd/cyrus-imapd-ca.pem 0022 RUN chmod 644 /etc/pki/cyrus-imapd/cyrus-imapd-key.pem 0023 # Because the following tends to fail we create the user in the test setup script now. 0024 # RUN saslauthd -a shadow && /usr/libexec/cyrus-imapd/master -d && sleep 1 && echo "cm user.doe" | cyradm --auth PLAIN -u cyrus -w admin localhost 0025 0026 #Qt 5.12 js Date doesn't play well with the default UTC timezone 0027 RUN rm /etc/localtime; ln -s /usr/share/zoneinfo/Europe/Zurich /etc/localtime 0028 0029 #DBus For KCacheGrind 0030 RUN dbus-uuidgen --ensure 0031 0032 # setup developer account 0033 RUN echo 'developer ALL=NOPASSWD: ALL' >> /etc/sudoers 0034 USER developer 0035 ENV HOME /home/developer 0036 WORKDIR /home/developer/ 0037 0038 ENV QT_PLUGIN_PATH /install/lib64/plugins/ 0039 ENV LD_LIBRARY_PATH /install/lib64 0040 ENV PATH /install/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0041 ENV QML_IMPORT_PATH /install/lib64/qml 0042 ENV QML2_IMPORT_PATH /install/lib64/qml 0043 ENV XDG_CONFIG_DIRS /install/share/config 0044 ENV XDG_DATA_DIRS /install/share/:/usr/share 0045 RUN mkdir /tmp/runtime-developer 0046 ENV XDG_RUNTIME_DIR /tmp/runtime-developer 0047 ENV LANG en_US.UTF-8 0048 ENV QT_QPA_PLATFORMTHEME qt5ct 0049 0050 RUN git config --global url."git://anongit.kde.org/".insteadOf kde: && \ 0051 git config --global url."ssh://git@git.kde.org/".pushInsteadOf kde: 0052 0053 ADD bashrc /home/developer/.bashrc 0054 ADD startimap.sh /home/developer/startimap.sh 0055 0056 0057 ADD setupkolabnowtest.sh /home/developer/setupkolabnowtest.sh 0058 ADD setupperformancetest.sh /home/developer/setupperformancetest.sh 0059 ADD setupgoogletest.sh /home/developer/setupgoogletest.sh 0060 ADD kubeunlocked.sh /home/developer/kubeunlocked.sh 0061 ADD initrepositories.sh /home/developer/initrepositories.sh 0062 ADD generatemessages.sh /home/developer/generatemessages.sh 0063 0064 ADD keyconfig /home/developer/keyconfig 0065 ADD gpg-agent.conf /home/developer/.gnupg/gpg-agent.conf 0066 ADD gpg.conf /home/developer/.gnupg/gpg.conf 0067 ADD gdbinit /home/developer/.gdbinit 0068 ADD enableDebug.sh /home/developer/enableDebug.sh 0069 ADD private-key /home/developer/private-key 0070 ADD public-key /home/developer/public-key 0071 ADD qt5ct /home/developer/.config/qt5ct 0072 RUN sudo chown developer:developer /home/developer/* 0073 RUN sudo chown developer:developer /home/developer/.* -R 0074 0075 RUN gpg2 --import /home/developer/public-key 0076 RUN gpg2 --batch --import /home/developer/private-key 0077 #Better qt support 0078 RUN git clone https://github.com/Lekensteyn/qt5printers.git ~/.gdb/qt5printers/