Last active
August 29, 2015 14:03
-
-
Save thewtex/ac55675254938bce0182 to your computer and use it in GitHub Desktop.
TubeTK Dockerfile - replicates Eternia dashboard build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:13.04 | |
MAINTAINER Matt McCormick <matt.mccormick@kitware.com> | |
# Update | |
RUN apt-get update | |
# Build tools | |
RUN apt-get install -y build-essential | |
RUN apt-get install -y cmake-curses-gui | |
RUN apt-get install -y git | |
RUN apt-get install -y subversion | |
RUN apt-get install -y libqt4-dev | |
RUN apt-get install -y libxt-dev | |
# Utilities | |
RUN apt-get install -y vim | |
RUN apt-get install -y tmux | |
RUN apt-get install -y wget | |
# Normal user | |
RUN useradd -m tubetk | |
RUN echo 'root:tubetk' | chpasswd | |
RUN echo 'tubetk:tubetk' | chpasswd | |
ENV HOME /home/tubetk | |
USER tubetk | |
WORKDIR /home/tubetk | |
CMD ["/bin/bash"] | |
# Source tree | |
RUN mkdir src | |
RUN git clone https://github.com/KitwareMedical/TubeTK.git src/TubeTK | |
# Build tree | |
RUN mkdir -p bin/TubeTK | |
WORKDIR /home/tubetk/bin/TubeTK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment