Skip to content

Document OS-level dependencies #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jantman opened this issue Feb 23, 2021 · 3 comments
Open

Document OS-level dependencies #24

jantman opened this issue Feb 23, 2021 · 3 comments

Comments

@jantman
Copy link

jantman commented Feb 23, 2021

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 official python: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:

apk add \
      autoconf \
      automake \
      cmake \
      g++ \
      gcc \
      libexecinfo-dev \
      libffi-dev \
      libtool \
      linux-headers \
      make \
      musl-dev \
      openssl-dev \
@omanikhi
Copy link

@jantman Thanks for sharing, it was a big help!

@dkarp0
Copy link

dkarp0 commented Mar 18, 2021

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

@austinbutler
Copy link

Ran into the same issue with Nix, submitted a PR to package awslambdaric. You can see the dependencies for Nix there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants