aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/jenkins/grpc_jenkins_slave
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-10-09 16:07:36 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-10-09 16:07:36 -0700
commit28c06d85201c8b6a68075e1d034fddc6d0644d79 (patch)
treef93532e0782d45c61136a8f9afdd032762c3bf6b /tools/jenkins/grpc_jenkins_slave
parentae369de3b81cf16db74f68e4e260ebbd291a65ba (diff)
Added persistent caching for npm dependencies in Jenkins Dockerfiles
Diffstat (limited to 'tools/jenkins/grpc_jenkins_slave')
-rw-r--r--tools/jenkins/grpc_jenkins_slave/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/jenkins/grpc_jenkins_slave/Dockerfile b/tools/jenkins/grpc_jenkins_slave/Dockerfile
index 5f2b425c8c..44796ce4c6 100644
--- a/tools/jenkins/grpc_jenkins_slave/Dockerfile
+++ b/tools/jenkins/grpc_jenkins_slave/Dockerfile
@@ -101,7 +101,7 @@ ENV NUGET mono /var/local/NuGet.exe
# Install nvm
RUN touch .profile
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
-RUN /bin/bash -l -c "nvm install 0.12"
+RUN /bin/bash -l -c "nvm install 0.12 && npm config set cache /tmp/npm-cache"
##################
# Ruby dependencies