Git Product home page Git Product logo

Comments (3)

cybrcodr avatar cybrcodr commented on July 29, 2024

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.

thurt avatar thurt commented on July 29, 2024

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.

cybrcodr avatar cybrcodr commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.