Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
483533d3
Commit
483533d3
authored
Feb 19, 2016
by
Josh Haberman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install Python deps in Docker image.
parent
0b931bcd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
13 deletions
+25
-13
Dockerfile
tools/docker/Dockerfile
+15
-11
jenkins.sh
tools/run_tests/jenkins.sh
+7
-2
tests.sh
tools/run_tests/tests.sh
+3
-0
No files found.
tools/docker/Dockerfile
View file @
483533d3
...
...
@@ -30,6 +30,10 @@
# Base Dockerfile for gRPC dev images
FROM
debian:latest
RUN
echo
'deb http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu trusty main'
>
/etc/apt/sources.list.d/deadsnakes.list
&&
\
gpg
--keyserver
keyserver.ubuntu.com
--recv-keys
DB82666C
&&
\
gpg
--export
DB82666C | apt-key add -
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN
apt-get update
&&
apt-get
install
-y
\
...
...
@@ -48,19 +52,19 @@ RUN apt-get update && apt-get install -y \
libtool
\
make
\
parallel
\
strace
\
python-dev
\
python-setuptools
\
telnet
\
unzip
\
wget
\
zip
\
# For all Java builds
\
# -- For all Java builds --
\
maven
\
#
For java_jdk6
\
#
oops! not in Jessie. T
oo old? openjdk-6-jdk
\
#
For java_jdk7
\
#
-- For java_jdk6 --
\
#
oops! not in jessie. t
oo old? openjdk-6-jdk
\
#
-- For java_jdk7 --
\
openjdk-7-jdk
\
# -- For python / python_cpp --
\
python-setuptools
\
python-tox
\
python-dev
\
python2.6-dev
\
python3.3-dev
\
python3.4-dev
\
&&
apt-get clean
# Prepare ccache
...
...
tools/run_tests/jenkins.sh
View file @
483533d3
...
...
@@ -26,5 +26,10 @@ $TEST_SCRIPT cpp | tee $OUTPUT_DIR/1/cpp
# Other tests are run in parallel. The overall run fails if any one of them
# fails.
# java_jdk6
parallel
$TEST_SCRIPT
::: java_jdk7 javanano_jdk7
parallel
$TEST_SCRIPT
:::
\
java_jdk7
\
javanano_jdk7
\
python
\
python_cpp
# java_jdk6 \
tools/run_tests/tests.sh
View file @
483533d3
...
...
@@ -152,6 +152,9 @@ build_javanano_oracle7() {
}
internal_install_python_deps
()
{
if
[
"
$TRAVIS
"
!=
"true"
]
;
then
return
;
fi
# Install tox (OS X doesn't have pip).
if
[
$(
uname
-s
)
==
"Darwin"
]
;
then
sudo
easy_install tox
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment