Comments (3)
go-wrapper download
command requires git. The image gcr.io/google-appengine/golang
does not contain git. Looking at the golang image, its base image buildpack-deps:jessie-scm does contain git.
gcr.io/google-appengine/golang
image is meant for building AppEngine Flex applications where the assumption is that all Go source files including dependencies are locally present.
from golang-docker.
Thank you!
i guess i'm still confused, is gcr.io/google-appengine/golang
required for deploying to GAE flex? docs seem to suggest that here. if it is required, my question is what does it include that makes it required?
from golang-docker.
Nope, unless your app actually uses the Go SDK and other Unix binaries during runtime. If you are using a custom runtime, you can use a Dockerfile that will produce a minimal set of binaries/files for your app's runtime. That page describes the simplest approach to get a Go binary in a Docker image, but the resulting app image will contain a lot more than necessary.
Go App Engine Flex beta currently uses a different build pipeline that will produce an application image w/o containing the Go SDK nor the standard Unix binaries. See announcement here.
If you are deploying on Flex, do give it a try. If you are not deploying on Flex, but would like to reuse the new builder image, this readme shows a simple example.
from golang-docker.
Related Issues (20)
- image does not appear to support vendoring HOT 1
- missing gcc / build tools in image HOT 1
- update readme with vendoring details
- Build gin-gonic go-module based website fails ( permission denied )
- Add Go 1.16 HOT 1
- Documentation
- Add go1.18
- Is Google abandoning App Engine Flexible? HOT 2
- Please update to Go 1.6.3 HOT 4
- Add end-to-end tests HOT 2
- Add SHA checking
- Investigate image size HOT 1
- stackdriver debug broke hello world HOT 2
- Running docker images locally (cont'd #60) HOT 2
- Document how to run this image on GKE HOT 1
- Document built-in stackdriver integration HOT 2
- Tagging versions? HOT 7
- Alpine-based image? HOT 2
- base: need appenginevm build tag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from golang-docker.