mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Gitaly Build Images
Golang 1.5, 1.6, 1.7, 1.8 + Git 2.8.4
This commit is contained in:
parent
aa62d51de6
commit
a32461f5e4
6 changed files with 86 additions and 0 deletions
16
Dockerfile.golang-1.5-git-2.8.4
Normal file
16
Dockerfile.golang-1.5-git-2.8.4
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM golang:1.5
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue