forked from contiv/contiv.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
15 lines (15 loc) · 747 Bytes
/
Dockerfile
File metadata and controls
15 lines (15 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y git-core openssh-client curl wget \
build-essential openssl libreadline6 libreadline6-dev curl zlib1g zlib1g-dev \
libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev \
autoconf libc6-dev ncurses-dev automake libtool bison pkg-config \
gawk libgmp-dev libgdbm-dev libffi-dev gnupg2
RUN command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
RUN curl -L https://get.rvm.io | bash -s stable
RUN /bin/bash -l -c "rvm requirements"
RUN echo "gem: --no-document" >~/.gemrc
RUN /bin/bash -l -c "rvm install 2.0.0-p648"
RUN /bin/bash -l -c "gem install bundler --no-ri --no-rdoc"
COPY . /sources
RUN cd /sources/websrc && bash -l -c "bundle"
WORKDIR /sources/websrc