Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
added Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Shmukler committed Sep 28, 2018
1 parent cbb47a9 commit 6cebff8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Dockerfile
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/

0 comments on commit 6cebff8

Please sign in to comment.