Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
eeb2e2c6
Commit
eeb2e2c6
authored
Oct 05, 2017
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: install go based on env variable
parent
15ece1da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
scripts/build/Dockerfile
+5
-3
No files found.
scripts/build/Dockerfile
View file @
eeb2e2c6
...
...
@@ -21,12 +21,14 @@ RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A170311380
RUN
curl
--silent
--location
https://rpm.nodesource.com/setup_6.x | bash -
&&
\
yum install
-y
nodejs
--nogpgcheck
ENV
GOLANG_VERSION 1.9.1
RUN
wget https://dl.yarnpkg.com/rpm/yarn.repo
-O
/etc/yum.repos.d/yarn.repo
&&
\
yum install
-y
yarn
--nogpgcheck
&&
\
wget https://storage.googleapis.com/golang/go1.9.1.linux-amd64.tar.gz
&&
\
tar
-C
/usr/local
-xzf
go1.9.1.linux-amd64.tar.gz
wget https://storage.googleapis.com/golang/go
${
GOLANG_VERSION
}
.linux-amd64.tar.gz
&&
\
tar
-C
/usr/local
-xzf
go
${
GOLANG_VERSION
}
.linux-amd64.tar.gz
ENV
GOLANG_VERSION 1.9.1
ENV
PATH /usr/local/go/bin:$PATH
RUN
mkdir
-p
/go/src /go/bin
&&
chmod
-R
777 /go
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment