Building docker images in openedx

I have installed tutor ironwood on ubuntu 20.04 server. while using the command tutor images build openedx, I am getting the following error:

=> ERROR [production 27/29] RUN openedx-assets themes && openedx-ass 1.9s

[production 27/29] RUN openedx-assets themes && openedx-assets collect – settings=tutor.assets && rdfind -makesymlinks true -followsymlinks true /ope nedx/staticfiles/:
#0 1.701 Compiling lms sass assets from theme /openedx/themes/indigo…
#0 1.706 Traceback (most recent call last):
#0 1.706 File “/openedx/bin/openedx-assets”, line 218, in
#0 1.706 main()
#0 1.706 File “/openedx/bin/openedx-assets”, line 89, in main
#0 1.706 args.func(args)
#0 1.706 File “/openedx/bin/openedx-assets”, line 153, in run_themes
#0 1.706 assets._compile_sass(system, Path(theme_path), False, False, )
#0 1.706 File “/openedx/edx-platform/pavelib/assets.py”, line 558, in compile sass
#0 1.706 sass.compile(
#0 1.706 File “/openedx/venv/lib/python3.8/site-packages/sass.py”, line 644, i n compile
#0 1.706 raise CompileError(v)
#0 1.706 sass.CompileError: b’Error: argument $color of darken($color, $amoun t) must be a color\n\n Backtrace:\n \tnode_modules/bootstrap/scss/
variables.scss:152, in function darken\n \tnode_modules/bootstrap/scss/
variables.scss:152\n on line 152 of node_modules/bootstrap/scss/_variable s.scss\n>> $link-hover-color: darken($link-color, 15%) !default;\n – --------------------------^\n’


Dockerfile:188

187 | COPY --chown=app:app ./themes/ /openedx/themes/
188 | >>> RUN openedx-assets themes
189 | >>> && openedx-assets collect --settings=tutor.assets
190 | >>> # De-duplicate static assets with symlinks
191 | >>> && rdfind -makesymlinks true -followsymlinks true /openedx/static files/

192
ERROR: failed to solve: process “/bin/sh -c openedx-assets themes && openedx -assets collect --settings=tutor.assets && rdfind -makesymlinks true -follow symlinks true /openedx/staticfiles/” did not complete successfully: exit code: 1
Error: Command failed with status 1: docker build -t docker.io/overhangio/opened x:15.3.3 /root/.local/share/tutor/env/build/openedx

How to resolve the error please help.

It seems like you are using tutor-indigo theme.
maybe it was a mismatch between tutor-indigo and tutor version?
try disable tutor-indigo theme and rebuild.

tutor plugins disable indigo
tutor config save

What tutor version do you use and what plugins are enabled?
You can tell by running these commands:

tutor --version
tutor plugins list

Ys, I am using indigo theme. I am using tutor version 15.3.3 and the plugins enabled are:
indigo version 15.0.0
mfe version 15.0.5

After disabling tutor-indigo, I am able to build images.
But I want to use tutor indigo theme. What should I do?

maybe you can create an issue in the plugin github GitHub - overhangio/tutor-indigo: An elegant, customizable theme for Open edX
so the author can help to troubleshoot it.
or use a previous tutor version that is compatible with tutor-indigo.

Ok thankyou for your help, I have created an issue in the github.