Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#7 from proppy/appengine
Browse files Browse the repository at this point in the history
appengine: initial import
  • Loading branch information
proppy committed Jun 11, 2014
2 parents 29eef9a + 181cca6 commit ef78ea1
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 0 deletions.
8 changes: 8 additions & 0 deletions appengine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM google/golang

ONBUILD ADD . /app
ONBUILD RUN /app/build.sh

EXPOSE 8080
CMD []
ENTRYPOINT ["/app/_ah_exe"]
23 changes: 23 additions & 0 deletions appengine/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# google/appengine-go

[`google/appengine-go`](https://index.docker.io/u/google/appengine-go) is a [docker](https://docker.io) base image for easily running App Engine [golang](http://golang.org) application.

It is based on [`google/golang`](https://index.docker.io/u/google/golang) base image.

## Usage

- Create a Dockerfile in your App Engine application directory with the following content:

FROM google/appengine-go

- Use the Cloud SDK to build and run your application

gcloud app run .

## Notes

The image assumes that your application:

- listens on port `8080`

When the Cloud SDK builds your Docker container image, it automatically injects the dependencies of your application into the build context, and builds them with your application binary.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions hello/gopath/internal/internal.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package internal

const (
Secret = "42"
)
File renamed without changes.

0 comments on commit ef78ea1

Please sign in to comment.