Skip to content Skip to sidebar Skip to footer

Not Able To Set Environment Variable In Dockerfile For Custom Runtime Environment In Google App Engine

I'm using below Dockerfile for setting up a custom runtime environment for app engine. FROM ubuntu:latest RUN apt-get update -y RUN apt-get install -y python-pip b

Solution 1:

This should be the first line in your Dockerfile:

FROM gcr.io/google_appengine/python-compat-multicore

You need a base image that supports the App Engine APIs supports 7 APIs in the standard (runtime: python27) App Engine runtime.

You are getting the import error above because the app engine APIs which are not available in the runtime specified by your Dockerfile.

Read more here.

Post a Comment for "Not Able To Set Environment Variable In Dockerfile For Custom Runtime Environment In Google App Engine"