Skip to content

Instantly share code, notes, and snippets.

@d-tux
Created February 6, 2015 14:54
Show Gist options
  • Save d-tux/c2c86e6682b672f55b27 to your computer and use it in GitHub Desktop.
Save d-tux/c2c86e6682b672f55b27 to your computer and use it in GitHub Desktop.
Dockerfile to compile SOFA
FROM base/arch
RUN pacman -Sy reflector --noconfirm --noprogressbar
RUN reflector -c FR -f 3 > /etc/pacman.d/mirrorlist
RUN pacman -Syu --noconfirm --noprogressbar && pacman-db-upgrade && pacman -Scc --noconfirm
RUN pacman --noconfirm --noprogressbar -S git gcc cmake make
RUN pacman -S glut glew qt4 --noconfirm --noprogressbar
RUN git clone git://scm.gforge.inria.fr/sofa/sofa.git
RUN cd sofa && cmake . && cmake .
RUN cd sofa && make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment