From c906eb349342a818146dee73b22366e03748fdc6 Mon Sep 17 00:00:00 2001 From: Samuel Padgett Date: Thu, 30 Jul 2020 16:54:18 -0400 Subject: [PATCH] Don't download the Cypress binary during downstream builds --- Dockerfile.product | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.product b/Dockerfile.product index aaeebb2d960..79fe8eafa9d 100644 --- a/Dockerfile.product +++ b/Dockerfile.product @@ -24,10 +24,11 @@ RUN tar fx yarn-offline.tar # bootstrap yarn so we can install and run the other tools. RUN container-entrypoint npm install ./yarn-1.9.4.tgz -# prevent download of chromedriver, geckodriver, sass binary, and node headers as part of module installs +# prevent download of chromedriver, geckodriver, sass, cypress binary, and node headers as part of module installs ENV CHROMEDRIVER_SKIP_DOWNLOAD=true \ GECKODRIVER_SKIP_DOWNLOAD=true \ SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true \ + CYPRESS_INSTALL_BINARY=0 \ NPM_CONFIG_TARBALL=$HOME/node-v12.16.1-headers.tar.gz # run the build