Install from source code

This commit is contained in:
soulmachine 2016-08-06 12:03:43 -07:00
commit 5f67d580ff

View file

@ -1,12 +1,14 @@
FROM ubuntu:16.04 FROM ubuntu:16.04
MAINTAINER koalaman <koalaman@gmail.com> MAINTAINER koalaman <koalaman@gmail.com>
RUN apt-get update -qqy RUN apt-get update -qy
RUN apt-get -qqy install haskell-platform RUN apt-get -qy install git cabal-install
RUN cd $HOME && git clone https://github.com/koalaman/shellcheck.git
RUN cd $HOME/shellcheck && cabal update
RUN cd $HOME/shellcheck && cabal install
RUN cabal update
RUN cabal install shellcheck
# Clean apt cache # Clean apt cache
RUN apt-get clean && \ RUN apt-get clean && \