Re: Parametrizing a BuildConfiguration with Docker ARGs

2018-02-08 Thread Dan Pungă
Yes, in fact your answer made me wonder about my config(and reference docs that I use, but that's my prob..:) ). Not to add to the confusion, but I use minishift, so a local cluster environment. Current OC version is 3.6.0 and Docker is 1.12. However I run my Docker tests on a separate

Re: Parametrizing a BuildConfiguration with Docker ARGs

2018-02-08 Thread Ben Parees
On Thu, Feb 8, 2018 at 3:53 PM, Dan Pungă wrote: > I guess it does have to do with your Docker version. > I have: > > Client: > Version:17.12.0-ce > API version:1.35 > Go version:go1.9.2 > Git commit:c97c6d6 > Built:Wed Dec 27 20:11:19 2017 >

Re: Parametrizing a BuildConfiguration with Docker ARGs

2018-02-08 Thread Dan Pungă
I guess it does have to do with your Docker version. I have: Client:  Version:    17.12.0-ce  API version:    1.35  Go version:    go1.9.2  Git commit:    c97c6d6  Built:    Wed Dec 27 20:11:19 2017  OS/Arch:    linux/amd64 Server:  Engine:   Version:    17.12.0-ce   API version:    1.35

Re: Parametrizing a BuildConfiguration with Docker ARGs

2018-02-07 Thread Dan Pungă
Thanks for your answers Ben! And yes, apparently, I've skimmed through the docs with this bit, which explains why the devs didn't have to implement handling ARGs before the FROM instructions in Dockerfiles... :) So I'll just have to point to different images in the yaml config. Regarding

Re: Parametrizing a BuildConfiguration with Docker ARGs

2018-02-07 Thread Ben Parees
btw, openshift will happily substitute your FROM statement w/ an image referenced by your BuildConfig, so if that's your goal, perhaps that is a way to accomplish it. https://docs.openshift.org/latest/dev_guide/builds/build_strategies.html#docker-strategy-from On Wed, Feb 7, 2018 at 9:48 AM, Ben

Re: Parametrizing a BuildConfiguration with Docker ARGs

2018-02-07 Thread Ben Parees
On Wed, Feb 7, 2018 at 6:59 AM, Dan Pungă wrote: > 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

Parametrizing a BuildConfiguration with Docker ARGs

2018-02-07 Thread Dan Pungă
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