Comments (2)
We released the new GCP image after the holiday, so gcloud app deploy
should work now. aedeploy
is deprecated.
I am trying to come up with a solution. Could you share a little bit more about your use case? Are you using App Engine? or Flex? or something else?
from golang-docker.
It works now. What I'm trying to do is use this base image with the AE flex golang hello world example. I.e.: get hello world running with this base image.
So follow the steps on https://cloud.google.com/go/getting-started/hello-world, but instead of runtime: go
in your app.yaml you have runtime: custom
. Then have a Dockerfile with:
FROM gcr.io/google_appengine/golang
COPY . /go/src/app
RUN go-wrapper install -tags appenginevm
and gcloud app deploy. I now see that a source-context.json file appears in the working directory of the container when deployed on app engine. How is that done, though? Where do those files come from? How can I run this container locally? I used to be able to just docker build -t myapp . ; docker run ... myapp
, but that doesn't create the source-context(s).json files, so now it breaks.
About this:
aedeploy is deprecated.
Since when? Where was this announced? How can I set myself up to know these kind of things in the future? Is there a low-noise mailing list? A central, source-of-truth doc that I can trust if it contradicts other docs?
To deploy a Go app, use the aedeploy tool, which will correctly assemble your app's dependencies in the same way that the go tool does.
– https://cloud.google.com/appengine/docs/flexible/go/testing-and-deploying-your-app
To deploy your app to the App Engine flexible environment:
Deploy the Hello World app by running the following command from the helloworld directory:
$ aedeploy gcloud app deploy
– https://cloud.google.com/go/getting-started/hello-world
There was even a note, somewhere, in one of these bazillion docs and READMEs, that eventhough go1.6/7 introduced vendoring you should keep using aedeploy... But I can't find it at the moment.
The scatterbrain that is appengine docs can be a thicket worthy of guarding a Sleeping Beauty, at times. :P
from golang-docker.
Related Issues (20)
- image does not appear to support vendoring HOT 1
- Error: Missing Git HOT 3
- 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
- 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.