https://hendrien-org.github.io/satis/
Add this Composer repository to your project's composer.json file, then you can require these private packages just like you would with one from Packagist.
{
"repositories": [{
"type": "composer",
"url": "https://hendrien-org.github.io/satis"
}],
"minimum-stability": "dev",
"prefer-stable": true
}
Pull the image:
docker pull composer/satis
Run the image (with Composer cache from host):
docker run --rm --init -it \
--user $(id -u):$(id -g) \
--volume $(pwd):/build \
--volume "${COMPOSER_HOME:-$HOME/.composer}:/composer" \
composer/satis build <configuration-file> <output-directory>
<configuration-file>
=satis.json
<output-directory>
=docs
docker pull composer/satis
docker run --rm --init -it \
--user $(id -u):$(id -g) \
--volume $(pwd):/build \
--volume "${COMPOSER_HOME:-$HOME/.composer}:/composer" \
composer/satis build satis.json docs;
git add -A;
git commit -m ":arrow_up: update dependencies";
git push;
Pull the latest image.