Open jantman opened 3 years ago
@jantman Thanks for sharing, it was a big help!
For Amazon Linux 2, this works:
RUN yum update && yum groupinstall -y "Development Tools" && \
yum install -y \
cmake3 \
libcurl-devel \
python3 \
python3-devel \
python3-pip \
gzip
Ran into the same issue with Nix, submitted a PR to package awslambdaric
. You can see the dependencies for Nix there.
The README states that this project is compatible with Amazon Linux 2, Alpine, CentOS, Debian, and Ubuntu but only lists an example Dockerfile with dependencies for a Debian variant.
I'm currently about an hour into trying to
pip install awslambaric
in the officialpython:3.8-alpine
image, which is based on alpine:3.13. I'm still in the process of discovering build dependencies and what Alpine packages provide them.A listing of the OS-level dependencies for supported OSes would be greatly helpful.
For Alpine, what I've come up with is: