aebundler

command
v1.6.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

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:

FROM gcr.io/google-appengine/go-compat
ADD . /app
RUN GOPATH=/app/_gopath go build -tags appenginevm -o /app/_ah/exe

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL