Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
44 lines
1.1 KiB
FROM debian:stretch |
|
|
|
# Install dependencies. We start with the basic ones require to build protoc |
|
# and the C++ build |
|
RUN apt-get update && apt-get install -y \ |
|
autoconf \ |
|
autotools-dev \ |
|
build-essential \ |
|
bzip2 \ |
|
ccache \ |
|
curl \ |
|
gcc \ |
|
git \ |
|
libc6 \ |
|
libc6-dbg \ |
|
libc6-dev \ |
|
libgtest-dev \ |
|
libtool \ |
|
make \ |
|
parallel \ |
|
time \ |
|
wget \ |
|
# Java dependencies |
|
maven \ |
|
openjdk-8-jdk \ |
|
&& apt-get clean |
|
|
|
# Install rvm |
|
RUN gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys \ |
|
409B6B1796C275462A1703113804BB82D39DC0E3 \ |
|
7D2BAF1CF37B13E2069D6956105BD0E739499BDB |
|
RUN \curl -sSL https://get.rvm.io | bash -s master |
|
|
|
RUN /bin/bash -l -c "rvm install 2.3.8" |
|
RUN /bin/bash -l -c "rvm install 2.4.5" |
|
RUN /bin/bash -l -c "rvm install 2.5.1" |
|
RUN /bin/bash -l -c "rvm install 2.6.0" |
|
RUN /bin/bash -l -c "rvm install 2.7.0" |
|
RUN /bin/bash -l -c "rvm install 3.0.0" |
|
RUN /bin/bash -l -c "rvm install jruby-9.2.19.0" |
|
RUN /bin/bash -l -c "rvm install jruby-9.3.0.0" |
|
|
|
RUN /bin/bash -l -c "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc" |
|
RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc"
|
|
|