kevingurney opened a new issue, #331:
URL: https://github.com/apache/arrow-site/issues/331

   This is a follow up to #326.
   
   As discussed in 
https://github.com/apache/arrow-site/pull/326#discussion_r1128584928, it would 
be helpful if the website deployment script (`.github/workflows/deploy.yml`) 
ran the website build steps inside of a custom Docker container.
   
   This would enable easier reproducibility for local debugging workflows and 
allow for more fine grained control over the deployment environment.
   
   Ideally, the Docker container would have the following properties:
   
   1. Based on `ubuntu:22.04` (i.e. `FROM ubuntu:22.04`).
   2. Uses [`nvm`](https://github.com/nvm-sh/nvm) to install the latest 
available LTS version of Node.js based on an 
[`.nvmrc`](https://github.com/nvm-sh/nvm#nvmrc) file.
   3. Uses [`rbenv`](https://github.com/rbenv/rbenv) to install the latest 
available LTS version of Ruby based on a 
[`.ruby-version`](https://github.com/rbenv/rbenv#how-it-works) file.
   4. All environment setup / dependency installation steps are extracted into 
a standalone Bash script (e.g. `install_website_dependencies.sh`) so that the 
script can also be run directly on an Ubuntu 22.04 host machine with no 
container requirement.
   5. Stored in the [GitHub Container Registry 
(ghcr.io)](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry).


-- 
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]

Reply via email to