|
|
@ -15,6 +15,7 @@ |
|
|
|
# Docker file for building gRPC artifacts. |
|
|
|
# Docker file for building gRPC artifacts. |
|
|
|
|
|
|
|
|
|
|
|
FROM 32bit/debian:jessie |
|
|
|
FROM 32bit/debian:jessie |
|
|
|
|
|
|
|
RUN sed -i '/deb http:\/\/http.debian.net\/debian jessie-updates main/d' /etc/apt/sources.list |
|
|
|
|
|
|
|
|
|
|
|
# Install Git and basic packages. |
|
|
|
# Install Git and basic packages. |
|
|
|
RUN apt-get update && apt-get install -y \ |
|
|
|
RUN apt-get update && apt-get install -y \ |
|
|
@ -49,7 +50,9 @@ RUN apt-get update && apt-get install -y \ |
|
|
|
# Ruby dependencies |
|
|
|
# Ruby dependencies |
|
|
|
|
|
|
|
|
|
|
|
# Install rvm |
|
|
|
# Install rvm |
|
|
|
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB |
|
|
|
# Install rvm |
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y gnupg2 |
|
|
|
|
|
|
|
RUN gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB |
|
|
|
RUN \curl -sSL https://get.rvm.io | bash -s stable |
|
|
|
RUN \curl -sSL https://get.rvm.io | bash -s stable |
|
|
|
|
|
|
|
|
|
|
|
# Install Ruby 2.1 |
|
|
|
# Install Ruby 2.1 |
|
|
@ -66,6 +69,7 @@ RUN /bin/bash -l -c "gem install bundler -v 1.17.3 --no-ri --no-rdoc" |
|
|
|
# Use cmake 3.6 from jessie-backports |
|
|
|
# Use cmake 3.6 from jessie-backports |
|
|
|
RUN echo "deb http://archive.debian.org/debian jessie-backports main" | tee /etc/apt/sources.list.d/jessie-backports.list |
|
|
|
RUN echo "deb http://archive.debian.org/debian jessie-backports main" | tee /etc/apt/sources.list.d/jessie-backports.list |
|
|
|
RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf |
|
|
|
RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf |
|
|
|
|
|
|
|
RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list |
|
|
|
RUN apt-get update && apt-get install -t jessie-backports -y cmake && apt-get clean |
|
|
|
RUN apt-get update && apt-get install -t jessie-backports -y cmake && apt-get clean |
|
|
|
|
|
|
|
|
|
|
|
RUN mkdir /var/local/jenkins |
|
|
|
RUN mkdir /var/local/jenkins |
|
|
|