Tutor MFE for ARM64

Based on the discussion here:

I tried adding these two lines of code in my mfe dockerfile:

RUN npm config set fetch-retry-mintimeout 20000
RUN npm config set fetch-retry-maxtimeout 120000

but I get an exit code 137

 => ERROR [account-dev 5/7] RUN npm clean-install --no-audit --no-fund -  36.3s
 => [learning-dev 3/7] RUN npm config set fetch-retry-mintimeout 20000     0.8s
 => CACHED [learning-i18n 1/4] COPY --from=learning-src /openedx/app/src/  0.0s
 => CACHED [i18n 1/3] COPY ./i18n /openedx/i18n                            0.0s
 => CACHED [i18n 2/3] RUN chmod a+x /openedx/i18n/*.js                     0.0s
 => CACHED [i18n 3/3] RUN echo "copying i18n data"   && mkdir -p /openedx  0.0s
 => CACHED [learning-i18n 2/4] COPY --from=i18n /openedx/i18n/learning /o  0.0s
 => CACHED [learning-i18n 3/4] COPY --from=i18n /openedx/i18n/i18n-merge.  0.0s
 => CACHED [learning-i18n 4/4] RUN /openedx/i18n/i18n-merge.js /openedx/a  0.0s
 => [profile-dev 3/7] RUN npm config set fetch-retry-mintimeout 20000      0.8s
 => CACHED [gradebook-i18n 1/4] COPY --from=gradebook-src /openedx/app/sr  0.0s
 => CACHED [gradebook-i18n 2/4] COPY --from=i18n /openedx/i18n/gradebook   0.0s
 => CACHED [gradebook-i18n 3/4] COPY --from=i18n /openedx/i18n/i18n-merge  0.0s
 => CACHED [gradebook-i18n 4/4] RUN /openedx/i18n/i18n-merge.js /openedx/  0.0s
 => CACHED [account-i18n 1/4] COPY --from=account-src /openedx/app/src/i1  0.0s
 => CACHED [account-i18n 2/4] COPY --from=i18n /openedx/i18n/account /ope  0.0s
 => CACHED [account-i18n 3/4] COPY --from=i18n /openedx/i18n/i18n-merge.j  0.0s
 => CACHED [account-i18n 4/4] RUN /openedx/i18n/i18n-merge.js /openedx/ap  0.0s
 => CACHED [profile-i18n 1/4] COPY --from=profile-src /openedx/app/src/i1  0.0s
 => CACHED [profile-i18n 2/4] COPY --from=i18n /openedx/i18n/profile /ope  0.0s
 => CACHED [profile-i18n 3/4] COPY --from=i18n /openedx/i18n/i18n-merge.j  0.0s
 => CACHED [profile-i18n 4/4] RUN /openedx/i18n/i18n-merge.js /openedx/ap  0.0s
 => [learning-dev 4/7] RUN npm config set fetch-retry-maxtimeout 120000    0.6s
 => [profile-dev 4/7] RUN npm config set fetch-retry-maxtimeout 120000     0.6s
 => CANCELED [learning-dev 5/7] RUN npm clean-install --no-audit --no-fu  38.7s
 => CANCELED [profile-dev 5/7] RUN npm clean-install --no-audit --no-fun  39.4s
------
 > [account-dev 5/7] RUN npm clean-install --no-audit --no-fund --registry=https://registry.npmjs.org/   && rm -rf ~/.npm:
#17 36.11 Killed
------
executor failed running [/bin/sh -c npm clean-install --no-audit --no-fund --registry=$NPM_REGISTRY   && rm -rf ~/.npm]: exit code: 137
Error: Command failed with status 1: docker build -t docker.io/overhangio/openedx-mfe:14.0.0 /Users/hargunoberoi/Library/Application Support/tutor/env/plugins/mfe/build/mfe

I’m a little clueless now. Any help would be greatly appreciated.