build-image
build-image copied to clipboard
This is the build image used for running automated builds
Related: #612 #432 #319 We are using yarn workspaces with yarn's latest version (`3.0.1`) and yarn is not cached at all, it takes `1m 54s` in best cases and `3m...
**Describe the bug** Packages such as Elm globally installed via NPM are not accessible within the build image. https://github.com/netlify/build-image/blob/focal/Dockerfile#L230 E.g. ``` 5:43:37 PM: $ npm list -g && ls $(npm...
**Describe the bug** All new versions of yarn don't seem to work out of the box, I've tried 2/3/berry and fails: ``` Installing yarn at version 3.0.0 6:00:30 PM: Installing...
🎉 Thanks for submitting a pull request! 🎉 #### Summary Xenial version of https://github.com/netlify/build-image/tree/nicola/use-targetarch-arg
#### Summary Fixes https://github.com/netlify/build-image/issues/777 This PR adds `webm` files to the default `fetchinclude`. This means that users who are making use of LFS and have `webm` video files won't have...
**Describe the bug** I enabled LFS for my repo and for some reason **most** of my files were working, but the `webm` files just didn't work **To Reproduce** 1. Fork...
- Checks the version of Yarn installed globally using [`YARN_IGNORE_PATH=1`](https://yarnpkg.com/configuration/yarnrc#ignorePath). The environment variable `YARN_VERSION` sets the version of Yarn to install globally. - Sets [`YARN_GLOBAL_FOLDER`](https://yarnpkg.com/configuration/yarnrc#globalFolder) environment variable to the cache...
**Describe the bug** I've followed the instructions from the README using WSL 2 to install Docker in Ubuntu. I cloned this repository (build-image) from within WSL, not through Windows. The...
**Is your build failing?** Our builds our failing. We use `yarn 3.2.0` with workspaces in a public repo. This is the step where yarn fails: ``` 5:10:09 PM: ➤ YN0001:...
We run `nvm install` to check what the latest matching Node.js version is (e.g. `NODE_VERSION` `12` would match `12.18.3`), and download it unless it is available locally: https://github.com/netlify/build-image/blob/450c24b893036c2813a0b0d0a2a05bcdd81935a4/run-build-functions.sh#L221 Even if...