mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-22 14:23:53 -07:00
Install from source code
This commit is contained in:
parent
eb38af7083
commit
5f67d580ff
1 changed files with 6 additions and 4 deletions
|
@ -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 && \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue