You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/11/11 08:22:35 UTC

[GitHub] [camel-website] zregvart commented on pull request #667: Resolves #666: (Do not merge yet) Main aggregate collector/page generation

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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org