Hi, I’m trying to build a Redwood devstack with Tutor, but building the openedx-dev image fails:
=> [production 32/39] RUN npm run postinstall # Postinstall artifacts are stuck in nodejs-requirements layer. Create them here too. 0.7s
=> ERROR [production 33/39] RUN npm run compile-sass -- --skip-themes 0.6s
------
> importing cache manifest from openedx-dev:18.2.2-cache:
------
------
> [production 33/39] RUN npm run compile-sass -- --skip-themes:
0.462
0.462 > edx@0.1.0 compile-sass
0.462 > scripts/compile_sass.py --env=${NODE_ENV:-production} --skip-themes
0.462
0.507 USING ENV: production
0.507
0.507
0.507 Compiling default Sass...
0.507 Compiling default LMS Sass...
0.507 Source: lms/static/sass
0.507 Target: lms/static/css
0.507 Include paths:
0.507 common/static
0.507 common/static/sass
0.507 node_modules/@edx
0.507 node_modules
0.507 lms/static/sass/partials
0.507 lms/static/sass
0.507 Files:
0.507 lms/static/sass/lms-footer.scss -> lms/static/css/lms-footer.css
0.507 Traceback (most recent call last):
0.507 File "/openedx/edx-platform/scripts/compile_sass.py", line 503, in <module>
0.508 main(prog_name="npm run compile-sass --")
0.508 File "/openedx/venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
0.508 return self.main(*args, **kwargs)
0.508 ^^^^^^^^^^^^^^^^^^^^^^^^^^
0.508 File "/openedx/venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
0.508 rv = self.invoke(ctx)
0.508 ^^^^^^^^^^^^^^^^
0.508 File "/openedx/venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
0.508 return ctx.invoke(self.callback, **ctx.params)
0.508 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.508 File "/openedx/venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
0.508 return __callback(*args, **kwargs)
0.508 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.508 File "/openedx/venv/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
0.508 return f(get_current_context(), *args, **kwargs)
0.508 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.508 File "/openedx/edx-platform/scripts/compile_sass.py", line 335, in main
0.508 compile_sass_dir(
0.508 File "/openedx/edx-platform/scripts/compile_sass.py", line 239, in compile_sass_dir
0.508 from _sass import compile_filename # pylint: disable=protected-access
0.508 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.508 ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /openedx/venv/lib/python3.11/site-packages/_sass.cpython-311-x86_64-linux-gnu.so)
------
Dockerfile:207
--------------------
205 | # will be processed. This makes the docker image lighter and faster to build.
206 | RUN npm run postinstall # Postinstall artifacts are stuck in nodejs-requirements layer. Create them here too.
207 | >>> RUN npm run compile-sass -- --skip-themes
208 | RUN npm run webpack
209 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c npm run compile-sass -- --skip-themes" did not complete successfully: exit code: 1
Tutor version is 18.2.2.
Has anyone else run into this issue?