I created a custom docker image that I pushed to docker hub. Here is the docker file:
I then reference that docker image in my config.yml file. Here is the whole file:
The problem is I am receiving this error:
/bin/bash: npm: command not found
When I ssh into the docker image locally, I can see npm --version returns the proper version and is installed in the docker image, but “circleci build” is acting like it isn’t using my custom docker image.
Am I missing something to make sure my docker image is loaded in circleci 2.0? Or maybe I am missing a step in what I am pushing to docker hub? Any help figuring this out would be appreciated. Thanks!