- Access wordpress instance via REST API
- Uses
composer.json
to manage the wordpress code.
define('DB_HOST', ':/var/lib/mysql/mysql.sock');
- Generate a salt
md5 -s "random salt again nonce_in my_kcy"
- Build with argument - We pass in the github auth token currently stored in .env file
export GITHUB_AUTH='{"github-oauth":{"github.com": "xxx"}}'
export DOCKER_BUILDKIT=1
docker build --build-arg GITHUB_AUTH -t paseo:wordpress .
aws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin {ecr}.dkr.ecr.eu-central-1.amazonaws.com/paseo
docker tag paseo:wordpress {ecr}.dkr.ecr.eu-central-1.amazonaws.com/paseo:wordpress
docker push {ecr}.dkr.ecr.eu-central-1.amazonaws.com/paseo:wordpress
- Command line client
docker run -it mcr.microsoft.com/azure-cli
- Microsoft Pipeline
- Docker Tasks
DOCKER_BUILDKIT=1 docker build . --build-arg GITHUB_AUTH='{"github-oauth":{"github.com": "xxx"}}' -t paseo:wordpress
- Github Tokens
- [Tokens](https://github.com/settings/tokens
- Managing Composer Github Access
export COMPOSER_AUTH='{"github-oauth":{"github.com":"xxxxx"}}
- Azure Devops Notes report.status = Reporting::Report::statuses[:generated];