singularityhub / sregistry-cli

Singularity Global Client for container management
https://singularityhub.github.io/sregistry-cli/
Mozilla Public License 2.0
14 stars 18 forks source link

Set a working directory for Google Cloud Build #222

Closed vsoch closed 5 years ago

vsoch commented 5 years ago

Currently, we assume (as we do when building containers) that the working directory is the present working directory (.) and then files are referenced relatively. This works great for local build, and for GitHub clone, but no so great on a server where we might need to, for example, build from a different spot. I'm not exactly sure how I'll do this, but I'd like to have a recipe somewhere on the host, and without changing directory, add it to a build context relative to some path that contains it and have the build work.

vsoch commented 5 years ago

Fixed with #223