Docker Community Forums

Share and learn in the Docker community.

Dockerfile for Windows and Linux OS at a time

docker

(Guttasuman9) #1

I want to run my Test scripts inside both Windows and Linux based docker images at a time. For that do i need to have two separate docker files or can i specify everything in a single Dockerfile by an if statement.?


(Sam) #2

no IF in a dockerfile