Skip to content

Commit

Permalink
fix: ensuring aws lambda compatible zip (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
russorat authored Aug 18, 2021
1 parent f455a87 commit 99bd791
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
1. [#290](https://github.com/influxdata/influxdb-client-python/pull/290): `Threshold` domain models mapping
1. [#290](https://github.com/influxdata/influxdb-client-python/pull/290): `DashboardService` responses types
1. [#303](https://github.com/influxdata/influxdb-client-python/pull/303): Backslash escaping in serialization to Line protocol
1. [#312](https://github.com/influxdata/influxdb-client-python/pull/312): Zip structure for AWS Lambda

## 1.19.0 [2021-07-09]

Expand Down
5 changes: 3 additions & 2 deletions docker/aws_lambda_layer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ RUN source lambda/bin/activate
# Python dependencies to be included in output zip file:
RUN python3.8 -m pip install --no-cache-dir influxdb-client[ciso] -t /install/python
# Create zip file
RUN zip -r /install/python.zip python/
VOLUME ["/install"]
WORKDIR /install/python
RUN zip -r ../python.zip .
VOLUME ["/install"]

0 comments on commit 99bd791

Please sign in to comment.