github.com/serversong/goreporter@v0.0.0-20200325104552-3cfaf44fd178/linters/spellcheck/misspell/Dockerfile (about)

     1  FROM golang:1.7.0-alpine
     2  MAINTAINER https://github.com/client9/misspell
     3  
     4  # cache buster
     5  RUN echo 3
     6  
     7  # git is only used for coveralls reporting
     8  RUN apk add --no-cache git make
     9  
    10  # these are my standard testing / linting tools
    11  RUN /bin/true \
    12      && go get -u github.com/alecthomas/gometalinter \
    13      && gometalinter --install \
    14      && rm -rf /go/src /go/pkg
    15  #
    16  # * SCOWL word list
    17  #
    18  # Downloads
    19  #  http://wordlist.aspell.net/dicts/
    20  #  --> http://app.aspell.net/create
    21  #
    22  
    23  # use en_US large size
    24  # use regular size for others
    25  ENV SOURCE_US_BIG http://app.aspell.net/create?max_size=70&spelling=US&max_variant=2&diacritic=both&special=hacker&special=roman-numerals&download=wordlist&encoding=utf-8&format=inline
    26  
    27  # should be able tell difference between English variations using this
    28  ENV SOURCE_US http://app.aspell.net/create?max_size=60&spelling=US&max_variant=1&diacritic=both&download=wordlist&encoding=utf-8&format=inline
    29  ENV SOURCE_GB_ISE http://app.aspell.net/create?max_size=60&spelling=GBs&max_variant=2&diacritic=both&download=wordlist&encoding=utf-8&format=inline
    30  ENV SOURCE_GB_IZE http://app.aspell.net/create?max_size=60&spelling=GBz&max_variant=2&diacritic=both&download=wordlist&encoding=utf-8&format=inline
    31  ENV SOURCE_CA http://app.aspell.net/create?max_size=60&spelling=CA&max_variant=2&diacritic=both&download=wordlist&encoding=utf-8&format=inline
    32  
    33  RUN /bin/true \
    34    && mkdir /scowl-wl \
    35    && wget -O /scowl-wl/words-US-60.txt ${SOURCE_US} \
    36    && wget -O /scowl-wl/words-GB-ise-60.txt ${SOURCE_GB_ISE} 
    37