-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use posix path for dockerfile path passed to docker build API (#…
…5528) * Use posix path for dockerfile * Updated dockerfile path to posix before Docker API call and Added integ tests
- Loading branch information
Showing
8 changed files
with
395 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
7 changes: 7 additions & 0 deletions
7
...asset.31c00c94a012bbfa9021c9ef3d6589c251d6e9743f9cf6d38694d29e7372c428/myimage/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ARG BASE_RUNTIME | ||
|
||
FROM public.ecr.aws/lambda/python:$BASE_RUNTIME | ||
|
||
COPY myimage/main.py $FUNCTION_DIR | ||
|
||
CMD [ "main.handler" ] |
2 changes: 2 additions & 0 deletions
2
...md/asset.31c00c94a012bbfa9021c9ef3d6589c251d6e9743f9cf6d38694d29e7372c428/myimage/main.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
def handler(event, context): | ||
return "Hello World" |
Oops, something went wrong.