Skip to content

Commit

Permalink
add ca certs as per jruby/jruby#1055
Browse files Browse the repository at this point in the history
  • Loading branch information
nurey committed Jul 22, 2014
1 parent 84421f5 commit d019f8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ RUN su ilia -c "curl -sSL https://get.rvm.io | bash"
#RUN echo "source /usr/local/rvm/scripts/rvm" >> /etc/profile
#RUN /bin/bash -l -c "rvm requirements"

# Install ca certificates
RUN su ilia -c "wget -O /ilia/cacert.pem http://curl.haxx.se/ca/cacert.pem"
RUN su ilia -c echo "export CA_CERT_FILE=/ilia/cacert.pem" >> /ilia/.bash_profile
ENV CA_CERT_FILE /ilia/cacert.pem

# Install ruby
RUN su - ilia -c "rvm install ruby-2.1.2"

Expand Down

0 comments on commit d019f8b

Please sign in to comment.