Skip to content

Commit

Permalink
Make zip file lighter
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Apr 18, 2024
1 parent 1c03011 commit 9304c41
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ have `make` install, you can continue with the steps to create the package manua

2. Install the required libraries using pip.
```console
(.venv) pip install -r requirements.txt
(.venv) pip install -r requirements.aws.txt
```

3. Use `pip show` to find the location in your virtual environment where pip has installed your dependencies.
Expand Down
2 changes: 1 addition & 1 deletion integrations/amazon-security-lake/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $(VIRTUAL_ENV):
$(error Missing virtual environment, please install it with:
python3 -m venv $(VIRTUAL_ENV)
source $(VIRTUAL_ENV)/bin/activate
pip install -r requirements.txt
pip install -r requirements.aws.txt
)

.ONESHELL:
Expand Down
3 changes: 2 additions & 1 deletion integrations/amazon-security-lake/aws-lambda.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# docker build --platform linux/amd64 --no-cache -f aws-lambda.dockerfile -t docker-image:test .
# docker run --platform linux/amd64 -p 9000:8080 docker-image:test

FROM public.ecr.aws/lambda/python:3.9
# FROM public.ecr.aws/lambda/python:3.9
FROM amazon/aws-lambda-python:3.12

# Copy requirements.txt
COPY requirements.txt ${LAMBDA_TASK_ROOT}
Expand Down
2 changes: 2 additions & 0 deletions integrations/amazon-security-lake/requirements.aws.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pyarrow>=10.0.1
pydantic>=2.6.1
2 changes: 1 addition & 1 deletion integrations/amazon-security-lake/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pyarrow>=10.0.1
parquet-tools>=0.2.15
pydantic==2.6.1
pydantic>=2.6.1
boto3==1.34.46

0 comments on commit 9304c41

Please sign in to comment.