zregvart commented on pull request #667: URL: https://github.com/apache/camel-website/pull/667#issuecomment-966084940
We need to be careful about binaries in the cache, we could end up with MacOS binaries (Mach-O) in the cache instead of Linux (ELF). Best rebuild the cache within the Docker container, there is a `Dockerfile` in the root of the repository that you can use. The same is used on ci-builds.a.o. Something like this: ``` $ docker build -t camel-website . $ docker run --rm -it -v $(pwd):/work:Z --entrypoint bash --workdir /work camel-website $ yarn workspaces foreach install ``` The `Z` might not be required/work on a Mac, it's about SELinux labeling, and be careful about permissions on the `.yarn` directory, they might end up being owned by root. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
