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
63aa4369
Commit
63aa4369
authored
Feb 02, 2017
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tech(build): slimdown the size of the build container
parent
3cbca80d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
19 deletions
+17
-19
scripts/build/Dockerfile
+17
-19
No files found.
scripts/build/Dockerfile
View file @
63aa4369
FROM
centos:6.6
FROM
centos:6.6
RUN
yum install
-y
yum-plugin-ovl initscripts curl
tar
gcc libc6-dev git gcc-c++ openssl-devel
\
RUN
yum install
-y
yum-plugin-ovl initscripts curl
tar
gcc libc6-dev git gcc-c++ openssl-devel
&&
\
yum install
-y
g++ make automake autoconf curl-devel zlib-devel httpd-devel apr-devel apr-util-devel sqlite-devel
\
yum install
-y
g++ make automake autoconf curl-devel zlib-devel httpd-devel apr-devel apr-util-devel sqlite-devel
&&
\
yum install
-y
wget yum-utils bzip2 bzip2-devel
\
yum install
-y
wget yum-utils bzip2 bzip2-devel
&&
\
yum install
-y
fontconfig freetype freetype-devel fontconfig-devel libstdc++
\
yum install
-y
fontconfig freetype freetype-devel fontconfig-devel libstdc++
&&
\
yum install
-y
rpm-build patch readline readline-devel libtool bison lzma
\
yum install
-y
rpm-build patch readline readline-devel libtool bison lzma
&&
\
yum install
-y
which
tar
yum install
-y
which
tar
# Install RUBY 1.9.3
# Install RUBY 1.9.3
# install necessary utilities
# install necessary utilities
# RUN yum install -y which tar
# RUN yum install -y which tar
RUN
gpg
--keyserver
hkp://keys.gnupg.net
--recv-keys
409B6B1796C275462A1703113804BB82D39DC0E3
RUN
gpg
--keyserver
hkp://keys.gnupg.net
--recv-keys
409B6B1796C275462A1703113804BB82D39DC0E3
&&
\
RUN
curl
-sSl
https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer | bash
-s
stable
curl
-sSl
https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer | bash
-s
stable
&&
\
RUN
source
/etc/profile.d/rvm.sh
source
/etc/profile.d/rvm.sh
&&
\
RUN
/bin/bash
-l
-c
"rvm requirements"
/bin/bash
-l
-c
"rvm requirements"
&&
\
RUN
/bin/bash
-l
-c
"rvm install 2.1.9"
/bin/bash
-l
-c
"rvm install 2.1.9"
&&
\
RUN
/bin/bash
-l
-c
"rvm use 2.1.9 --default"
/bin/bash
-l
-c
"rvm use 2.1.9 --default"
# install nodejs
# install nodejs
RUN
curl
--silent
--location
https://rpm.nodesource.com/setup_6.x | bash -
RUN
curl
--silent
--location
https://rpm.nodesource.com/setup_6.x | bash -
&&
\
RUN
yum install
-y
nodejs
--nogpgcheck
yum install
-y
nodejs
--nogpgcheck
RUN
wget https://dl.yarnpkg.com/rpm/yarn.repo
-O
/etc/yum.repos.d/yarn.repo
RUN
wget https://dl.yarnpkg.com/rpm/yarn.repo
-O
/etc/yum.repos.d/yarn.repo
&&
\
RUN
yum install
-y
yarn
--nogpgcheck
yum install
-y
yarn
--nogpgcheck
&&
\
wget https://storage.googleapis.com/golang/go1.7.4.linux-amd64.tar.gz
&&
\
tar
-C
/usr/local
-xzf
go1.7.4.linux-amd64.tar.gz
ENV
GOLANG_VERSION 1.7.4
ENV
GOLANG_VERSION 1.7.4
RUN
wget https://storage.googleapis.com/golang/go1.7.4.linux-amd64.tar.gz
RUN
tar
-C
/usr/local
-xzf
go1.7.4.linux-amd64.tar.gz
ENV
PATH /usr/local/go/bin:$PATH
ENV
PATH /usr/local/go/bin:$PATH
RUN
mkdir
-p
/go/src /go/bin
&&
chmod
-R
777 /go
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