forked from google/grr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for proto3 on travis and docker.
- Loading branch information
Showing
4 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# A Docker container capable of running all GRR components. | ||
# Xenial has the correct version of the protobuf compiler (2.6.1). | ||
FROM ubuntu:xenial | ||
MAINTAINER Greg Castle [email protected] | ||
|
||
|
@@ -12,7 +11,6 @@ RUN apt-get update && \ | |
libffi-dev \ | ||
libssl-dev \ | ||
prelink \ | ||
protobuf-compiler \ | ||
python-dev \ | ||
python-pip \ | ||
rpm \ | ||
|
@@ -23,6 +21,13 @@ RUN apt-get update && \ | |
pip install setuptools --upgrade && \ | ||
virtualenv /usr/share/grr-server | ||
|
||
# Install proto compiler | ||
RUN mkdir -p /usr/share/protobuf && \ | ||
cd /usr/share/protobuf && \ | ||
wget --quiet "https://github.com/google/protobuf/releases/download/v3.0.0/protoc-3.0.0-linux-x86_64.zip" && \ | ||
unzip protoc-3.0.0-linux-x86_64.zip | ||
ENV PROTOC /usr/share/protobuf/bin/protoc | ||
|
||
# Make sure Bower will be able to run as root. | ||
# Install nodeenv, a prebuilt version of NodeJS and update the virtualenv | ||
# environment. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters