Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.
Program aebundler turns a Go app into a fully self-contained tar file.
The app and its subdirectories (if any) are placed under "."
and the dependencies from $GOPATH are placed under ./_gopath/src.
A main func is synthesized if one does not exist.
A sample Dockerfile to be used with this bundler could look like this:
ADD . /app
RUN GOPATH=/app/_gopath go build -tags appenginevm -o /app/_ah/exe