diff --git a/builders/varnish.js b/builders/varnish.js index c192190..2aee5af 100644 --- a/builders/varnish.js +++ b/builders/varnish.js @@ -96,6 +96,7 @@ module.exports = { overrides: require('../utils/clone-overrides')(options.overrides), ssl: true, sslExpose: true, + build_as_root: ['apt-get update && apt-get install -y curl'], }); // Set another lando service we can pass down the stream diff --git a/examples/custom/README.md b/examples/custom/README.md index 827c563..091bfb4 100644 --- a/examples/custom/README.md +++ b/examples/custom/README.md @@ -22,10 +22,10 @@ Verification commands Run the following commands to validate things are rolling as they should. ```bash -# Should also serve over https if specified +# Should serve over https if specified lando ssh -s custom_ssl -c "curl https://localhost | grep sophisticated" -# Shoule use a custom vcl file if specified +# Should use a custom vcl file if specified lando ssh -s custom -c "cat /etc/varnish/lando.vcl | grep LANDOVARNISH" lando ssh -s custom -c "env | grep LANDO_CUSTOM_VCL | grep YOUBETCHA" lando ssh -s custom -c "curl -I localhost" | grep X-Lando-Varnish | grep capes