You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading ./composer.json
Loading auth config from COMPOSER_AUTH
Loading config file ./composer.json
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Executing command (/app): git branch --no-color --no-abbrev -v
Failed to initialize global composer: Composer could not find the config file: /tmp/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
Reading /app/vendor/composer/installed.json
Loading plugin yii\composer\Plugin
Running 1.10.10 (2020-08-03 11:35:19) with PHP 7.4.9 on Linux / 4.19.76-linuxkit
You are using the deprecated option "dev". Dev packages are installed by default now.
Reading ./composer.lock
Loading composer repositories with package information
Downloading https://asset-packagist.org/packages.json
Writing /tmp/cache/repo/https---asset-packagist.org/packages.json into cache
Downloading https://api.bitbucket.org/2.0/repositories/repositoryXY?fields=-project%2C-owner
Executing command (CWD): git config bitbucket.accesstoken
Could not fetch https://api.bitbucket.org/2.0/repositories/repositoryXY?fields=-project%2C-owner, please create a bitbucket OAuth token to access private repos
Follow the instructions on https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html
to create a consumer. It will be stored in "/tmp/auth.json" for future use by Composer.
Ensure you enter a "Callback URL" (http://example.com is fine) or it will not be possible to create an Access Token (this callback url will not be used by composer)
Consumer Key (hidden):
Pasting in the consumer key and consumer secret from the JSON passed via environment variables anything works fine.
The text was updated successfully, but these errors were encountered:
Fixed. The Docs are confusing at this point. The ENV Variable should be like: --env 'COMPOSER_AUTH={\"bitbucket-oauth\": {\"bitbucket.org\": {\"consumer-key\": \"myKey\",\"consumer-secret\": \"mySecret\"}}}'
https://getcomposer.org/doc/03-cli.md#composer-auth
Result:
Result:
Pasting in the consumer key and consumer secret from the JSON passed via environment variables anything works fine.
The text was updated successfully, but these errors were encountered: