Skip to content

Instantly share code, notes, and snippets.

@thewtex
Last active August 29, 2015 14:03
Show Gist options
  • Save thewtex/ac55675254938bce0182 to your computer and use it in GitHub Desktop.
Save thewtex/ac55675254938bce0182 to your computer and use it in GitHub Desktop.
TubeTK Dockerfile - replicates Eternia dashboard build
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