Dockerfile 941 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. FROM debian:jessie
  2. # Install dependencies. We start with the basic ones require to build protoc
  3. # and the C++ build
  4. RUN apt-get update && apt-get install -y \
  5. autoconf \
  6. autotools-dev \
  7. build-essential \
  8. bzip2 \
  9. ccache \
  10. curl \
  11. gcc \
  12. git \
  13. libc6 \
  14. libc6-dbg \
  15. libc6-dev \
  16. libgtest-dev \
  17. libtool \
  18. make \
  19. parallel \
  20. time \
  21. wget \
  22. && apt-get clean
  23. # Install rvm
  24. RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys \
  25. 409B6B1796C275462A1703113804BB82D39DC0E3 \
  26. 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
  27. RUN \curl -sSL https://get.rvm.io | bash -s stable
  28. RUN /bin/bash -l -c "rvm install 2.3.8"
  29. RUN /bin/bash -l -c "rvm install 2.4.5"
  30. RUN /bin/bash -l -c "rvm install 2.5.1"
  31. RUN /bin/bash -l -c "rvm install 2.6.0"
  32. RUN /bin/bash -l -c "rvm install 2.7.0"
  33. RUN /bin/bash -l -c "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
  34. RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc"