aws / aws-lambda-python-runtime-interface-client

Apache License 2.0
258 stars 73 forks source link

What are the dependencies needed for Ubuntu base image? #68

Open Jun711 opened 2 years ago

Jun711 commented 2 years ago

It seems that the dependencies listed in README aren't enough if the base image is Ubuntu. Besides python, it seems to need libtool, autoconf etc.

FROM ubuntu:20.04 as build-image

# Install aws-lambda-cpp build dependencies
RUN apt-get update && \
  apt-get install -y \
  g++ \
  make \
  cmake \
  unzip \
  libcurl4-openssl-dev
nicdoye commented 2 years ago

This combination appears to work. I don't know if any are redundant , though.

  - autoconf
  - automake
  - cmake
  - g++
  - libcurl4-openssl-dev
  - libgsasl7-dev
  - libidn2-dev
  - libldap2-dev
  - libpsl-dev
  - libssl-dev
  - libtool
  - make
  - python3-dev
  - zlib1g-dev
JonZeolla commented 1 year ago

@Jun711 did that work for you? Wondering if this issue can be closed.