FROM cos7_base_qt

# qcachegrind 
ARG KCACHEGRIND_VER=v21.04.2
RUN git clone --recursive https://github.com/KDE/kcachegrind.git && \
    cd kcachegrind && git checkout $KCACHEGRIND_VER && \
    PATH=/qt/$QT_VER/gcc_64/bin/:$PATH qmake; make

# Exécuter une commande au démarrage de l'image.
CMD ["/bin/bash"]
