Categories
Uncategorized

Valgrind Massif-Visualizer in a docker image

FROM jlesage/baseimage-gui:ubuntu-18.04

RUN apt-get update \
  && apt-get upgrade -y \
  && apt-get install -y \
  massif-visualizer \
  && apt autoremove -y \
  && rm -rf /var/lib/apt/lists/*

# Write the start script.
RUN printf '#!/bin/sh \n\
exec /usr/bin/massif-visualizer' > /startapp.sh \
  && chmod +x /startapp.sh

# Set the name of the application.
ENV APP_NAME="massif-viz"