How to pass Env variables set in Travis CI inside the dockerfile

  dockerfile, travis-ci

I’m trying to use the env variable set in travis ci in dockerfile. However when I echo the variable in dockerfile it is empty(not taking the value from the travis env variable). Could someone please help me with the same?

Source: Dockerfile Questions