Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Conversation

@sergeyk
Copy link
Contributor

@sergeyk sergeyk commented Feb 28, 2019

As #318 and #216 - comment note, stripping *.so files can mess things up on Lambda, even when done in Docker.

For example, this is the error you will get if you strip opencv: ImportError: /tmp/sls-py-req/cv2/cv2.cpython-36m-x86_64-linux-gnu.so: ELF load command address/offset not properly aligned

In these cases, it is useful to simply turn off stripping while retaining the other behaviors of slim: true.

@dschep
Copy link
Contributor

dschep commented Mar 4, 2019

LGTM!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants