- Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile
More file actions
Latest commit
13 lines (11 loc) · 468 Bytes
/
Copy pathDockerfile
File metadata and controls
13 lines (11 loc) · 468 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM quay.io/aptible/ubuntu:12.04
RUN apt-get update
RUN apt-get -y install wget build-essential zlib1g-dev libssl-dev \
libreadline6-dev libyaml-dev && cd /tmp && \
wget -q http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz && \
tar xzf ruby-2.1.4.tar.gz && \
cd ruby-2.1.4 && ./configure --enable-shared --prefix=/usr && \
make && make install && cd .. && rm -rf ruby-2.1.4*
RUN gem install bundler
ADD test /tmp/test
RUN bats /tmp/test