From c65bc88db5338daada5b1362a1181aa6e6a4ab58 Mon Sep 17 00:00:00 2001 From: Bertold Van den Bergh Date: Tue, 1 Nov 2022 15:39:55 +0100 Subject: [PATCH] Avoid broken patch that uses dpkg on CentOS --- aws_lambda/buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aws_lambda/buildspec.yml b/aws_lambda/buildspec.yml index 9e5c484..93ec873 100644 --- a/aws_lambda/buildspec.yml +++ b/aws_lambda/buildspec.yml @@ -6,9 +6,10 @@ phases: golang: 1.13 #Dummy, as this is a required parameter pre_build: commands: - - yum install -y cmake3 git gcc gcc-c++ make libc6 + - yum install -y cmake3 git gcc gcc-c++ make - git clone https://github.com/awslabs/aws-lambda-cpp.git - cd aws-lambda-cpp + - git checkout 4aa6639808fe03b5664edc95963e289d7444820d - mkdir build - cd build - cmake3 .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=~/out