File tree 2 files changed +40
-0
lines changed
2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ Dockerfile
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:trusty
2
+
3
+ RUN apt-get update -qq
4
+ RUN apt-get install -y apt-transport-https
5
+
6
+ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 379CE192D401AB61
7
+ RUN echo "deb https://dl.bintray.com/nxadm/rakudo-pkg-debs `lsb_release -cs` main" | tee -a /etc/apt/sources.list.d/rakudo-pkg.list
8
+ RUN apt-get update -qq
9
+
10
+ RUN apt-get install -y \
11
+ perl rakudo-pkg curl git build-essential python python-pip \
12
+ libssl-dev libreadline-dev zlib1g-dev \
13
+ libicu-dev cmake pkg-config
14
+
15
+ ENV PATH $PATH:/opt/rakudo-pkg/bin
16
+ RUN install-zef-as-user && zef install Pod::To::HTML
17
+
18
+ RUN curl -L http://cpanmin.us | perl - App::cpanminus
19
+ RUN cpanm --installdeps --notest Pod::Simple
20
+
21
+ RUN pip install docutils
22
+
23
+ ENV PATH $PATH:/root/.rbenv/bin:/root/.rbenv/shims
24
+ RUN curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash
25
+ RUN rbenv install 2.4.1
26
+ RUN rbenv global 2.4.1
27
+ RUN rbenv rehash
28
+
29
+ RUN gem install bundler
30
+
31
+ WORKDIR /data/github-markup
32
+ COPY github-markup.gemspec .
33
+ COPY Gemfile .
34
+ COPY Gemfile.lock .
35
+ COPY lib/github-markup.rb lib/github-markup.rb
36
+ RUN bundle
37
+
38
+ ENV LC_ALL en_US.UTF-8
39
+ RUN locale-gen en_US.UTF-8
You can’t perform that action at this time.
0 commit comments