File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ class Python36LanguagePlugin(LanguagePlugin):
43
43
RESOURCE_ENTRY_POINT = "{}.handlers.resource"
44
44
TEST_ENTRY_POINT = "{}.handlers.test_entrypoint"
45
45
CODE_URI = "build/"
46
+ DOCKER_TAG = 3.6
46
47
47
48
def __init__ (self ):
48
49
self .env = self ._setup_jinja_env (
@@ -274,7 +275,7 @@ def _docker_build(cls, external_path):
274
275
LOG .debug ("command is '%s'" , command )
275
276
276
277
volumes = {str (external_path ): {"bind" : str (internal_path ), "mode" : "rw" }}
277
- image = f"lambci /lambda:build- { cls .RUNTIME } "
278
+ image = f"public.ecr.aws /lambda/python:$ { cls .DOCKER_TAG } "
278
279
LOG .warning (
279
280
"Starting Docker build. This may take several minutes if the "
280
281
"image '%s' needs to be pulled first." ,
@@ -325,3 +326,4 @@ def _pip_build(cls, base_path):
325
326
class Python37LanguagePlugin (Python36LanguagePlugin ):
326
327
NAME = "python37"
327
328
RUNTIME = "python3.7"
329
+ DOCKER_TAG = 3.7
You can’t perform that action at this time.
0 commit comments