This is my JSON
{
"name": "dockerizing-magento",
"description": "ADockerizedMagentoCommunityEdition",
"require": {
"magento-hackathon/magento-composer-installer": "v2.1.1",
"magento/core": "1.9.1.0-patch1"
},
"require-dev": {},
"repositories": [],
"extra": {
"magento-root-dir": "web",
"auto-append-gitignore": true
},
"config": {
"discard-changes": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-install-cmd": [],
"post-update-cmd": []
}
}
When i try to composer update
it gives error of
[Seld\JsonLint\ParsingException]
"./composer.json" does not contain valid JSON
BOM detected, make sure your input does not include a Unicode Byte-Order-Markupdate [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] []...
but it is valid according to several websites
https://jsonformatter.curiousconcept.com/
for example here
I follow this tutorial
https://andykdocs.de/development/Docker/Dockerize-Magento
But for hours, i got this error. Please help
I try to build a magento inside docker.