This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Igor Shmukler
committed
Sep 28, 2018
1 parent
cbb47a9
commit 6cebff8
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM debian:9.4-slim | ||
LABEL maintainer [email protected] | ||
|
||
RUN \ | ||
cd ~ && \ | ||
apt-get update -qq && \ | ||
apt-get install -qqy \ | ||
git-core build-essential wget curl && \ | ||
wget https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz && \ | ||
tar xvf go1.10.3.linux-amd64.tar.gz && \ | ||
mv go /usr/local/ && \ | ||
export GOROOT=/usr/local/go && \ | ||
export GOBIN=/usr/local/bin && \ | ||
export GOPATH=$HOME/Projects && \ | ||
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
go env GOPATH && \ | ||
go get -u github.com/mna/pigeon && \ | ||
git clone https://github.com/nearform/gammaray $GOPATH/src/github.com/nearform/gammaray && \ | ||
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh && \ | ||
cd $GOPATH/src/github.com/nearform/gammaray && make && \ | ||
mv gammaray /usr/bin/ |