sourcegraph / srclib

srclib is a polyglot code analysis library, built for hackability. It consists of language analysis toolchains (currently for Go and Java, with Python, JavaScript, and Ruby in beta) with a common output format, and a CLI tool for running the analysis.
https://srclib.org
Other
942 stars 62 forks source link

Update all dockerfiles for migration to Go 1.4+ #168

Open xizhao opened 9 years ago

xizhao commented 9 years ago

Srclib uses features of go 1.4 Dockerfiles are currently set to ubuntu:14.04 In ubuntu:14.04's registry, go 1.2.1 is the latest release So go must be installed manually to support newer versions of srclib

RUN wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz
RUN sudo tar -C /usr/local -xzf go1.4.2.linux-amd64.tar.gz
ENV PATH /usr/local/go/bin:${PATH}