- Issue created by @longwave
- π³π±Netherlands balintbrews Amsterdam, NLlongwave β credited balintbrews β . 
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10longwave β credited larowlan β . 
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊlongwave β credited wim leers β . 
- π¬π§United Kingdom longwave UKMR!515 contains a first attempt at a Docker-based build step that can be run locally or on CI. $ rm -rf dist $ docker build --output dist . ... => exporting to client directory => => copying files 1.62MB $ ls dist/ dist/assets/ dist/: assets index.html dist/assets/: index.css index.js
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊThis is critical for the 0.2tag needed for Drupal CMS next week.
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊI'm not sure how to review this. π (But spotted one problem π) - Why would I build this using Docker if I can just do npm ci && npm run buildlocally and commit that?
- This is not yet running on Drupal CI. Do you intend to do that? And if so, is it worth figuring that out for the handful of tags we'll make prior to starting a 1.0-stable? (I suspect that at that point we will have to always commit the build artifacts? Because people might run the dev snapshot then. Or we might just say that we don't support that.)
 I can see how this is useful to be able to build it without having to install npm, but anybody tagging a release would also have a working XB dev environment?
- Why would I build this using Docker if I can just do 
- π³π±Netherlands balintbrews Amsterdam, NL- To ensure a consistent Node.js version. (CPU architecture would be relevant if we distributed server-side code as well.)
- Given how you wisely suggested on Slack to stay pragmatic, especially with 0.2.0 being so close, I think we don't want to worry about CI. π The person tagging a new release can run this locally β then delete the artifacts in the subsequent commit as you outlined earlier. We can figure out a more solid distribution workflow later.
 
- π¬π§United Kingdom longwave UKI don't see what's wrong with using the official NodeJS image? It's available for multiple architectures and does what we need - what does the skpr one do that the official one doesn't? 
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
- π³π±Netherlands balintbrews Amsterdam, NLAgreed that it needs documentation, but since the MR was meant as a first pass, I was thinking we could get @larowlan's opinion, then if we're all happy, we can document the steps. skpr/node:20-v2-latestwas suggested instead ofnode:20-alpinein the Slack conversation that resulted this issue. I simply wanted to capture that, with the idea that we can easily change it back. I wasn't sure if @longwave missed the suggestion or deliberately addednode:20-alpine. Now I know it's the latter.@larowlad said skpr/node:20-v2-latestis his preferred image, so let's see if there is a good reason to go with that. Whichever we choose, it won't make too much of a difference.
- 
            
              wim leers β
             committed e594c498 on 0.x authored by 
            
              longwave β
            
Issue #3498123 by longwave, balintbrews, wim leers, larowlan: Add... 
 
- 
            
              wim leers β
             committed e594c498 on 0.x authored by 
            
              longwave β
            
- πΊπΈUnited States effulgentsiaWith 0.2.0 delayed, do we want a followup for automating this with CI? Or do we think that's too much effort compared to a manual step with every tag? 
- πΊπΈUnited States effulgentsiaRetitling to reflect the part that was done in this issue. 
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ#21: Too much effort for the far and few between releases. #22: thanks! π 
- Automatically closed - issue fixed for 2 weeks with no activity.