fix: use DISABLE_V8_COMPILE_CACHE=1 so the designer can build via docker #1363
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
This template is designed to help both contributors and maintainers. It is a checklist to ensure all necessary
information is provided, and prompts contributors on any contribution guidelines they have missed.
Do not remove sections.
They are important for the review process and help maintainers ensure quality and good documentation across the
project.
Some checkboxes will not apply to every change, so feel free to leave them unchecked if they are not relevant.
Description
Context
Builds of the docker designer image are failing, complaints seem to be from v8-compile-cache.
I haven't investigated why this error is happening now and whether or not this is due to an unpinned dep. I've tried upgrading to newer versions of node or yarn which doesn't seem to fix the issue. The fix I found is from a relatively old issue nodejs/corepack#342.
build error log
Changes
ENV DISABLE_V8_COMPILE_CACHE=1
to docker buildType of change
What is the type of change you are making?
PR title
PR titles should be prefixed with the type of change you are making, based on the README.md#versioning.
This is so that when performing a squash merge, the PR title is automatically used as the commit message.
Have you updated the PR title to match the type of change you are making?
Testing
Automated tests
Have you added automated tests?
Not a change to src code/functionality.
Manual tests
Have you manually tested your changes?
Have you attached an example form JSON or snippet for the reviewer in this PR?
Steps to test
docker build -t designer:1363 -f designer/Dockerfile .
After checking out these changes
docker build -t designer:1363-fix -f designer/Dockerfile .
docker run -p 3000:3000 designer:1363-fix
Documentation
Have you updated the documentation?
Discussion
Warning
Large or complex changes may require discussion with the maintainers before they can be merged. If it has not yet been discussed, it may delay the review process
Have you discussed this change with the maintainers?