I can add lines on to a Makefile on a Mac terminal via echo command
But how can I edit a Dockerfile similarly?
The first line of the Dockerfile reads
FROM eosio/eos-dev:v1.2.4
But since that docker repo is deprecated, I need to replace the first line with some other docker repo I found but I also want to create a shell script file that automatically does it.
I tried on the Mac terminal
echo 'FROM somerepo/somerepo-dev' >> Dockerfile
but it doesn't do what I intend to do.
I tried a simple echo 'FROM somerepo/somerepo-dev' >> Dockerfile but it doesn't work.
FROM eosio/eos-dev:v1.2.4
replace the first line of the dockerfile with some other docker repo