Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-8241

Can't build custom Plugin registry for s390x arch

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      Following the documentation how to build Custom Plugin Registry, we have an error for s390x architecture:

      Error: building at STEP "RUN mkdir -p /tmp/opt/cache &&     npm install --location=global ovsx@0.8.3 --prefix /tmp/opt/ovsx --cache /tmp/opt/cache && chmod -R g+rwX /tmp/opt/ovsx &&     tar -czf ovsx.tar.gz /tmp/opt/ovsx &&     chmod g+rwX /opt/app-root/src/ovsx.tar.gz": while running runtime: exit status 1
      

      Workaround

      replace

      npm install --location=global ovsx@0.8.3 --prefix /tmp/opt/ovsx --cache /tmp/opt/cache && chmod -R g+rwX /tmp/opt/ovsx && \
      

      with

      npm install --location=global @vscode/vsce@2.24.0 ovsx@0.8.3 --prefix /tmp/opt/ovsx --cache /tmp/opt/cache && chmod -R g+rwX /tmp/opt/ovsx && \
      

      in ovsx-installer.Dockerfile

      Steps to Reproduce

      Build custom plugin registry in s390x architecture

              vsvydenk Valerii Svydenko
              vsvydenk Valerii Svydenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: