-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from mikegrima/somefixes
Made some small updates
- Loading branch information
Showing
5 changed files
with
28 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Sample Starfleet Dockerfile for building ECR Lambda functions | ||
FROM public.ecr.aws/lambda/python:3.10 | ||
|
||
ENV LAMBDA_TASK_ROOT=/var/runtime | ||
|
||
# Copy Starfleet over (just a quick and dirty sample, not the cleanest): | ||
COPY ./ ${LAMBDA_TASK_ROOT}/starfleet | ||
|
||
# Install the specified packages: | ||
RUN cd ${LAMBDA_TASK_ROOT}/starfleet && \ | ||
pip install . && \ | ||
rm -Rf ${LAMBDA_TASK_ROOT}/boto* # Remove the lambda provided boto since it interferes with starfleet | ||
|
||
# The CMD is passed in as ImageConfig in the SAM template |
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
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