Skip to content

Commit a8e2f22

Browse files
committed
Move Docker Image
1 parent 73f12f6 commit a8e2f22

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

ci/docker-image/Dockerfile

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
FROM ubuntu:trusty
2+
3+
RUN apt-get update && apt-get install -y \
4+
build-essential \
5+
curl \
6+
git \
7+
libssl-dev \
8+
libreadline-dev \
9+
python \
10+
zip \
11+
zlib1g-dev \
12+
&& apt-get clean \
13+
&& rm -rf /var/lib/apt/lists/*
14+
15+
RUN locale-gen en_US.UTF-8 \
16+
&& /usr/sbin/update-locale LANG=en_US.UTF-8 \
17+
&& dpkg-reconfigure -f noninteractive locales
18+
19+
RUN git clone https://github.com/rbenv/rbenv.git $HOME/.rbenv \
20+
&& cd $HOME/.rbenv \
21+
&& src/configure \
22+
&& make -C src \
23+
&& ln -s $HOME/.rbenv/bin/rbenv /usr/local/bin
24+
25+
RUN eval "$(rbenv init -)" \
26+
&& git clone https://github.com/rbenv/ruby-build.git $(rbenv root)/plugins/ruby-build
27+
28+
RUN eval "$(rbenv init -)" \
29+
&& git clone https://github.com/sstephenson/rbenv-default-gems.git $(rbenv root)/plugins/rbenv-default-gems \
30+
&& echo 'bundler' >> $(rbenv root)/default-gems
31+
32+
RUN eval "$(rbenv init -)" \
33+
&& rbenv install 1.9.3-p551
34+
35+
RUN eval "$(rbenv init -)" \
36+
&& rbenv install 2.2.4
37+
38+
RUN eval "$(rbenv init -)" \
39+
&& rbenv install 2.3.0

0 commit comments

Comments
 (0)