che: Che-theia editor docker image build fails

Describe the bug

The docker build command for the che-theia editor fails with an error:

#21 16.43 [3/5] Fetching packages...
#21 58.89 error Command failed.
#21 58.89 Exit code: 128
#21 58.89 Command: git
#21 58.89 Arguments: ls-remote --tags --heads git://github.com/stoplightio/moxios
#21 58.89 Directory: /home/theia-dev/theia-source-code
#21 58.89 Output:
#21 58.89 fatal: remote error: 
#21 58.89   The unauthenticated git protocol on port 9418 is no longer supported.
#21 58.89 Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
#21 58.89 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
executor failed running [/bin/sh -c if [ -z $GITHUB_TOKEN ]; then unset GITHUB_TOKEN; fi &&     yarn ${YARN_FLAGS}]: exit code: 128

Che version

next (development version)

Steps to reproduce

Run ./build.sh --build-args:GITHUB_TOKEN=${GITHUB_TOKEN},THEIA_VERSION=master,THEIA_COMMIT_SHA=a73a746bfdefc115edb506f2351b5f4e3f267077 --tag:next --branch:master --git-ref:refs\\/heads\\/master --skip-tests --dockerfile:Dockerfile.alpine form the root of the che-theia project.

Expected behavior

The docker build command should finish successfully.

Runtime

minikube

Screenshots

No response

Installation method

chectl/next

Environment

macOS

Eclipse Che Logs

No response

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 16 (16 by maintainers)

Commits related to this issue

Most upvoted comments