Page MenuHomeSoftware Heritage

Add yarn to the base docker image

Authored by olasd on Dec 3 2018, 10:54 PM.



Needed to build assets for swh-web

Test Plan

make all

Diff Detail

rCDFJ Dockerfiles for Jenkins
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

olasd created this revision.Dec 3 2018, 10:54 PM
anlambert added inline comments.

webpack requires node > 4.x and nodejs-legacy has version 4.8.2~dfsg-1 in debian stretch.

The nodejs package from stretch-backports should be used instead here.

olasd updated this revision to Diff 2404.Dec 4 2018, 11:27 AM

Use nodejs from stretch-backports

olasd marked an inline comment as done.Dec 4 2018, 11:28 AM

Thanks for the heads-up, fixed!

anlambert accepted this revision.Dec 4 2018, 11:28 AM
This revision is now accepted and ready to land.Dec 4 2018, 11:28 AM
This revision was automatically updated to reflect the committed changes.