Skip to content

Instantly share code, notes, and snippets.

@MoriTanosuke
Last active July 29, 2016 06:10
Show Gist options
  • Save MoriTanosuke/e81b49c524ca55f0ed0c738b72bdea7c to your computer and use it in GitHub Desktop.
Save MoriTanosuke/e81b49c524ca55f0ed0c738b72bdea7c to your computer and use it in GitHub Desktop.
Dockerfile to build qdirstat
FROM ubuntu:14.04
RUN apt-get update -y && apt-get install -y build-essential qtbase5-dev zlib1g-dev qttools5-dev-tools qt5-default gdb git
VOLUME ["/usr/target/"]
RUN cd /usr/src && git clone https://github.com/shundhammer/qdirstat.git
RUN echo "\
cd /usr/src/qdirstat/src\n\
qmake\n\
make\n\
cp qdirstat /usr/target\n\
" > /tmp/build.sh
ENTRYPOINT ["/bin/sh", "/tmp/build.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment