ArcGIS Enterprise Marketplace Linux image comes with ArcPy. Thus, it is possible to run MDCS script (in theory).
Python3 cannot run MDCS script because logger module is missing.
Use of solutionsLib.pyc is not compatible with Python3 [1]. Always use source https://github.com/Esri/mdcs-py/blob/master/scripts/solutionsLib.py.
Z:\home\arcgis\src\SDT-56>"z:\home\arcgis\bin\Python\envs\test\python.exe" MDCS.py Traceback (most recent call last): File "MDCS.py", line 34, in <module> import solutionsLib # import Raster Solutions library ImportError: bad magic number in 'solutionsLib': b'\x03\xf3\r\n'