summaryrefslogtreecommitdiff
path: root/docker/ruby/Dockerfile
blob: fa4817123021bc7b2335d09416be45403b8e2834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM 0xacab.org:4567/leap/gitlab-buildpackage:jessie_amd64

MAINTAINER LEAP Encryption Access Project <info@leap.se>
LABEL Description="Ruby 2.1 build tools to build leap_cli etc" Vendor="LEAP" Version="3.x"

# install leap_cli prerequisites, see https://0xacab.org/leap/leap_cli
# and tools needed for ci (moreutils and expect)
RUN apt-get update \
  && apt-get install -y --no-install-recommends \
    ruby \
    ruby-dev \
    build-essential \
    rsync \
    openssh-client \
    openssl \
    rake \
    gcc \
    make \
    zlib1g-dev \
    moreutils \
    tcl \
    expect \
    jq \
    netcat \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/*

RUN echo '---\n:sources:\n  - https://rubygems.org/\ninstall: --no-document\nupdate: --no-document\n' > /etc/gemrc
RUN gem install bundler