Hello all!I've recently discovered and join this mailing list; hope I'm in the right place.
I'm new to the OShift ecosystem, currently trying to develop a configuration to containerize some apps. I'm using minishift local cluster on a Ubuntu 16.04 machine (details below).
I want to write a parametrized yaml template to configure the build process for my layers (those with a dockerStrategy) with using(or, better said connecting to ) the arguments defined in my Dockerfiles. I have found that OShift doesn't support ARG instructions prior to the FROM one when it reads the Dockerfile.
So, even if a docker build would run successfully with something like:
#....rest of Dockerfile instructions...
if I try to define in my yaml config
- name: OS_name
the build process does not work.
Has anyone else come across this issue and how did you get around it? What I'm trying to achieve is single configuration structure for multiple versions, so I wouldn't have to write separate Docker configs for different app versions. For example building a Java JRE layer on top of different OSs with one file.Thank you,
PS: The closest thread
regarding this issue that I've found in the archive is
Running env details: