phpMyFAQ/docker-hub

docker compose up fails on yarn build

gkoerk opened this issue · 1 comments

Upon executing docker-compose up, the build fails on step 10 when trying to perform the sass:production command:

Step 10/25 : RUN set -x  && yarn install  && yarn build
 ---> Running in bb8e64283001
+ yarn install
yarn install v1.12.1
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 100.73s.
+ yarn build
yarn run v1.12.1
$ grunt build
Running "clean:build" (clean) task
>> 0 paths cleaned.

Running "copy:tinymce" (copy) task
Created 50 directories, copied 176 files

Running "copy:mdi" (copy) task
Copied 12 files

Running "copy:highlightjs" (copy) task
Copied 2 files

Running "copy:bxslider" (copy) task
Copied 4 files

Running "copy:cookieconsent" (copy) task
Copied 1 file

Running "concat:vendors" (concat) task

Running "concat:dist" (concat) task

Running "uglify:frontend" (uglify) task
>> 1 file created 25.95 kB → 10.45 kB

Running "uglify:phpmyfaq_tinymce_plugin" (uglify) task
>> 2 files created 4.04 kB → 1.56 kB

Running "sass:production" (sass) task
Fatal error: The implementation option must be passed to the Sass task
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: Service 'phpmyfaq' failed to build: The command '/bin/sh -c set -x  && yarn install  && yarn build' returned a non-zero code: 1

Looks like latest Node version breaks grunt with node-sass