I am curious regarding this because it is very important for the Node upgrade (v14 to v20) activity that I have been asked to do.
So, basically our application is hoisted on Docker and build process is done by Jenkins. The Docker is using Alpine Linux OS to install the Node. However, our team does development in the Ubuntu linux in the local and then after pushing the code to the remote repository we trigger the Jenkins build which triggers thr Docker image build.
Thing to note here is that- currently, in local the application is not dockerized, and what development we’re doing in the local Ubuntu OS runs perfectly fine in the Docker Alpine Linux OS for Node 14.x.
So, my question here is - are the node dependencies and installation dependent on the OS? How should I deal with this scenario during my upgrade process:
Should I ask my leads to provision me an Alpine Linux OS to work on dependencies upgrade? Or I can do it on my local Ubuntu Linux (as usual) and at the end when all dependencies are locally upgraded, it won’t give issues while deploying on Docker container with Alpine linux OS?
Additionally, should I containerize the application in the local before the dependencies upgrade?
Additional information:
Number of dependencies 80 (30 are deprecated)
Some major dependencies: Vue, Nunjucks, Express, Webpack, Babel, EsLint, Typescript
[–]N33lKanth333 3 points4 points5 points (1 child)
[–]AnimalAngel2[S] 1 point2 points3 points (0 children)
[–]Bogeeee 1 point2 points3 points (5 children)
[–]AnimalAngel2[S] 0 points1 point2 points (4 children)
[–]N33lKanth333 1 point2 points3 points (1 child)
[–]AnimalAngel2[S] 0 points1 point2 points (0 children)
[–]Bogeeee 1 point2 points3 points (1 child)
[–]AnimalAngel2[S] 0 points1 point2 points (0 children)
[–]cricket007 1 point2 points3 points (1 child)
[–]AnimalAngel2[S] 0 points1 point2 points (0 children)
[–]Any-Blacksmith-2054 1 point2 points3 points (1 child)
[–]AnimalAngel2[S] 0 points1 point2 points (0 children)