Skip to content

Document OS-level dependencies #24

Open

Description

@jantman

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 \

Activity

  1. omanikhi commented on Mar 17, 2021

    @omanikhi

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

  2. dkarp0 commented on Mar 18, 2021

    @dkarp0

    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
    
  3. austinbutler commented on Apr 8, 2021

    @austinbutler

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions