curl -sL https://rpm.nodesource.com/setup_16.x | sudo bash -sudo npm install -g nsudo n install 16.16.0npm install --save-dev webpackexport NODE_OPTIONS="--max-old-space-size=8192"#buildx for amazon linux# Docker 19.03+
$ DOCKER_BUILDKIT=1 docker build --platform=local -o . "https://github.com/docker/buildx.git"
$ mkdir -p ~/.docker/cli-plugins
$ mv buildx ~/.docker/cli-plugins/docker-buildx

--

--