Problems with repositories dev-master when using composer inside docker PHP container

  composer-php, docker, php

I have a Docker Container installed with PHP 7.4 and Composer 1.10.1 but whenever I my application has a composer.json with a repository in versions "dev-master" it expects an key to the repository as tho it was private, but they’re all public.

Example of one of the repositories in composer.json:

"require": {
    "kkamkou/tp-minify": "dev-master",

Source: Docker Questions