-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
19 lines (16 loc) · 890 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM socrata/runit
MAINTAINER Socrata <sysadmin@socrata.com>
RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get --force-yes -fuy install software-properties-common && \
DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:brightbox/ruby-ng && \
DEBIAN_FRONTEND=noninteractive apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y ruby2.3 ruby2.3-dev && \
DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove software-properties-common && \
rm -rf /var/lib/apt/lists/*
# skip installing gem documentation
RUN echo 'gem: --no-rdoc --no-ri --no-document' >> "/etc/gemrc" && \
gem update --system && \
gem install bundler --no-document -v 2.0.1 && \
gem install bundler --no-document -v 1.17.3
# LABEL must be last for proper base image discoverability
LABEL repository.socrata/runit-ruby2.3=""