Reference image for compiling for aws-lambda targets
970
FROM ubuntu:20.04
RUN apt-get update
RUN apt update
RUN apt-get upgrade -y
RUN apt-get autoremove
RUN apt-get autoclean
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata
RUN apt-get install cmake ninja-build git g++ libcurl4-openssl-dev zlib1g-dev libssl-dev zip -y
WORKDIR /
RUN git clone https://github.com/awslabs/aws-lambda-cpp.git
WORKDIR /aws-lambda-cpp/build
RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
RUN make && make install
CMD ["/bin/bash"]
Content type
Image
Digest
Size
178.4 MB
Last updated
over 5 years ago
docker pull cpmbits/aws-lambda