Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I’ve searched through the documentation to the best of my ability, and can’t find anything that helps me understand how to simply include a 200kb .jpg file in with my function.
I’m creating a Go Function that needs to use a base image for creating a new modified image based on some parameters. I’d like to have it somewhere on disk that my function can simply use it load it to a buffer, modify the buffer, return the buffer as an image response.
Based on the docs, it seems everything around my go code should be zipped up and in the container. I’ve done some looking, and I can’t seem to find where my image is landing (or even if it’s being included at all).
I do not have an ignore file, nor an include. I’ve tried an include, but still could not find it during runtime.
My project is essentially:
Root
.Packages
..image-func
...code.go
...base.jpg
My temporary solution will be to download it at runtime, and attempt to cache it in /tmp to promote reuse; but this is annoying and I need to maintain hosting the image somewhere independently from my source.
Any information/more specifics on the go build would be greatly appreciated.
Rory McEwan
Anjanesh Lekshminarayanan
182d09356ab94d3893ddfaca4f0270
Prashant Kumbhat
kprichard
e452769e8f30404d81a3bc803143f4
robert
Eleanor
GamesmenJordan