Figured it out by myself.
The problem is that, in app.yaml
, runtime: go
will use a pre-built image, instead of the provided Dockerfile
.
So, the solution will simply be:
runtime: custom
Just note:
To use custom runtime, you have to specify flex environment (env: flex
).