If you need access to a file, Shellbox will include that file in the POST request, and set it up inside the temporary directory. This works pretty well, except for large files (1G+ tiffs, etc.) we're probably going to run up against various size limits...and I don't think POSTing a 1GB file is that great anyways.
One option @Joe and I had discussed was having the container download the image from swift directly, instead of having MediaWiki POST it.
MediaWiki would set an environment variable with a URL pointing to the file in swift, then the retrieveMetaData.sh script would curl it, saving it into the temporary directory. We could have k8s provision a netrc file for curl to use for athentication with swift (if we give the container read-only access to swift, we should consider splitting into 2 shellboxes for public and private wikis). This is assuming that for uploads, by the time we're trying to extract metadata it's already been uploaded into swift, which I haven't checked.
Other suggestions/approaches?