]> git.openstreetmap.org Git - rails.git/commitdiff
Add --ignore-engines for yarn in the Dockerfile
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 28 Jul 2021 09:14:49 +0000 (10:14 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 28 Jul 2021 09:14:49 +0000 (10:14 +0100)
Refs #3275

See also 102f3a6668665774f069a8116a251a28c3c5c0cc

Dockerfile

index e8ff013870493ccee62d27b8730a8f5102707e18..40ad730cd77f0e9b6c14706e77e568fe15212a3e 100644 (file)
@@ -48,4 +48,4 @@ RUN gem install bundler \
 # Install NodeJS packages using yarnpkg
 # `bundle exec rake yarn:install` will not work
 ADD package.json yarn.lock /app/
-RUN yarnpkg install
+RUN yarnpkg --ignore-engines install