Blog

Passing run-time variable in Dockerfile

Pass any runtime variable while creating Docker image from Dockerfile. When having parameters as an env file or configuration files that need to be selected while running docker image, then you may not require to create different Dockerfile for all different environments. This Article can help you pass those variable on go and you can use one Dockerfile for all environments