| Index: third_party/grpc/tools/dockerfile/distribtest/node_centos7_x64/Dockerfile
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/environment.py b/third_party/grpc/tools/dockerfile/distribtest/node_centos7_x64/Dockerfile
|
| similarity index 87%
|
| copy from third_party/WebKit/Tools/Scripts/webkitpy/common/system/environment.py
|
| copy to third_party/grpc/tools/dockerfile/distribtest/node_centos7_x64/Dockerfile
|
| index a37bd31d9bfd498549dc9b1bf28a6b8c002bbf12..f6e1664086a67433600fa487ff62fdfaaaf16006 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/environment.py
|
| +++ b/third_party/grpc/tools/dockerfile/distribtest/node_centos7_x64/Dockerfile
|
| @@ -1,4 +1,5 @@
|
| -# Copyright (C) 2011 Google Inc. All rights reserved.
|
| +# Copyright 2016, Google Inc.
|
| +# All rights reserved.
|
| #
|
| # Redistribution and use in source and binary forms, with or without
|
| # modification, are permitted provided that the following conditions are
|
| @@ -26,11 +27,10 @@
|
| # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| +FROM centos:7
|
|
|
| -class Environment(object):
|
| +RUN yum install -y curl
|
|
|
| - def __init__(self, env=None):
|
| - self.env = env or {}
|
| -
|
| - def to_dictionary(self):
|
| - return self.env
|
| +# Install nvm
|
| +RUN touch .profile
|
| +RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
|
|
|