Gitaly Build Images

Golang 1.5, 1.6, 1.7, 1.8 + Git 2.8.4
This commit is contained in:
Kim Carlbäcker 2017-03-04 19:40:17 +00:00 committed by Kim "BKC" Carlbäcker
parent aa62d51de6
commit a32461f5e4
6 changed files with 86 additions and 0 deletions

View file

@ -0,0 +1,16 @@
FROM golang:1.6
ENV GIT_VERSION 2.8.4
ENV GIT_DOWNLOAD_URL https://www.kernel.org/pub/software/scm/git/git-$GIT_VERSION.tar.gz
ENV GIT_DOWNLOAD_SHA256 626e319f8a24fc0866167ea5f6bf3e2f38f69d6cb2e59e150f13709ca3ebf301
# Install Build-deps
RUN apt-get update && apt-get install -y \
dh-autoreconf libcurl4-gnutls-dev libexpat1-dev \
gettext libz-dev libssl-dev
ADD . $PWD
RUN scripts/install-golang
ENV PATH /usr/local/bin:$PATH