IBM Cloud - Structured Ideas

Welcome to the idea portal for structured ideas (i.e. product feature requests) - A more integrated and automated feedback system to connect your product improvement ideas with IBM product and engineering teams.  Happy submitting!

 

NOTE: All IBM employees must enter Ideas through this Ideas Portal.

Building with a dockerfile in a location other than the build context directory

'docker build' cli allows one to specify an arbitrary file as the dockerfile for the build. This is done by using the '-f' option on the command line. For example: docker build -f test/test.dockerfile context/bigfiles. This enables an elaborate structure of code and build files, a necessity in complex project.

The bluemix ic plugin, however, doesn't support the '-f' option, and expects the dockerfile to be named 'Dockerfile' and be placed in the build context directory.

Please fix it.

  • Sharon Dagan
  • Aug 23 2016
  • Will not implement - Market demand
  • Attach files
  • Chris Rosen commented
    August 23, 2016 03:22

    Have you tried running the docker command natively against IBM Containers by exporting the env variables?

NOTICE TO EU RESIDENTS: per EU Data Protection Policy, if you wish to remove your personal information from the IBM ideas portal, please login to the ideas portal using your previously registered information then change your email to "anonymous@euprivacy.out" and first name to "anonymous" and last name to "anonymous". This will ensure that IBM will not send any emails to you about all idea submissions