commit initial, premières applications gérées: qtcreator, git, qgit, qcachegrind, valgrind, kdiff3
This commit is contained in:
14
valgrind/Dockerfile_centos7_valgrind
Normal file
14
valgrind/Dockerfile_centos7_valgrind
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM cos7_base
|
||||
|
||||
ARG VALGRIND_VER=valgrind-3.17.0
|
||||
|
||||
RUN wget https://sourceware.org/pub/valgrind/$VALGRIND_VER.tar.bz2 && \
|
||||
tar -xvf $VALGRIND_VER.tar.bz2 && \
|
||||
cd $VALGRIND_VER && \
|
||||
./configure && \
|
||||
make -j$(nproc) && \
|
||||
make install && \
|
||||
cd ../ && rm -rf $VALGRIND_VER*
|
||||
|
||||
# Exécuter une commande au démarrage de l'image.
|
||||
CMD ["/bin/bash"]
|
9
valgrind/valgrind.desktop
Normal file
9
valgrind/valgrind.desktop
Normal file
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=valgrind
|
||||
Type=Application
|
||||
Exec=valgrind
|
||||
Icon=valgrind
|
||||
Comment=analysis tools
|
||||
Categories=Development
|
||||
StartupWMClass=valgrind
|
||||
Terminal=false
|
BIN
valgrind/valgrind.png
Normal file
BIN
valgrind/valgrind.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
20
valgrind/valgrind_pre_step.sh
Executable file
20
valgrind/valgrind_pre_step.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
cp -r --preserve=links /usr/local/libexec/valgrind $WORK_DIR/AppDir/
|
||||
|
||||
cat << EOF > $WORK_DIR/AppRun
|
||||
#!/bin/bash
|
||||
APPDIR=\$(dirname -- "\$0")
|
||||
|
||||
export PATH=\$APPDIR/usr/bin:$PATH
|
||||
export LD_LIBRARY_PATH=\$APPDIR/usr/lib/:$LD_LIBRARY_PATH
|
||||
export VALGRIND_LIB=\$APPDIR/valgrind
|
||||
|
||||
exec \$APPDIR/usr/bin/$APP_NOM "\$@"
|
||||
EOF
|
||||
|
||||
fichierIcon=/build/valgrind.png
|
||||
fichierDesktop=/build/valgrind.desktop
|
||||
|
||||
AUTRES_OPTIONS="-i $fichierIcon -d $fichierDesktop --custom-apprun $WORK_DIR/AppRun"
|
||||
|
||||
|
Reference in New Issue
Block a user