Use default version of node, but use npm to install yarn
* Node 12 is sufficient for now, and aligns with INSTALL.md and vagrant
* Upstream yarnpkg is completely broken, see
2003697
Refs #4048
This commit is contained in:
parent
c21c6f8402
commit
27340d65cd
1 changed files with 2 additions and 3 deletions
|
@ -25,11 +25,10 @@ RUN apt-get update \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
tzdata \
|
tzdata \
|
||||||
unzip \
|
unzip \
|
||||||
&& curl https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
|
|
||||||
&& add-apt-repository -y -U https://deb.nodesource.com/node_18.x \
|
|
||||||
&& apt-get install --no-install-recommends -y \
|
|
||||||
nodejs \
|
nodejs \
|
||||||
|
npm \
|
||||||
&& npm install --global yarn \
|
&& npm install --global yarn \
|
||||||
|
# We can't use snap packages for firefox inside a container, so we need to get firefox+geckodriver elsewhere
|
||||||
&& add-apt-repository -y ppa:mozillateam/ppa \
|
&& add-apt-repository -y ppa:mozillateam/ppa \
|
||||||
&& echo "Package: *\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001" > /etc/apt/preferences.d/mozilla-firefox \
|
&& echo "Package: *\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001" > /etc/apt/preferences.d/mozilla-firefox \
|
||||||
&& apt-get install --no-install-recommends -y \
|
&& apt-get install --no-install-recommends -y \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue