]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4051'
authorTom Hughes <tom@compton.nu>
Wed, 31 May 2023 17:37:01 +0000 (18:37 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 31 May 2023 17:37:01 +0000 (18:37 +0100)
Dockerfile

index 78be28838980e2d561641071d48659fd2ac40ddd..c85a6404606d99bd8ef4a416f6eed2a7c6319881 100644 (file)
@@ -25,11 +25,10 @@ RUN apt-get update \
       software-properties-common \
       tzdata \
       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 \
+      npm \
  && 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 \
  && echo "Package: *\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001" > /etc/apt/preferences.d/mozilla-firefox \
  && apt-get install --no-install-recommends -y \