Skip to content

Commit

Permalink
Use 1.5.5 lambda layer for tests because 1.5.6 seems to be broken (#3735
Browse files Browse the repository at this point in the history
)
  • Loading branch information
JonasKunz authored Jul 25, 2024
1 parent 0c05c60 commit 63603d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private static String createLambdaImage() throws IOException {
ImageFromDockerfile imageBuilder = new ImageFromDockerfile().withDockerfileFromBuilder(builder ->
{
builder
.withStatement(raw("FROM docker.elastic.co/observability/apm-lambda-extension-x86_64:latest AS lambda-extension"))
.withStatement(raw("FROM docker.elastic.co/observability/apm-lambda-extension-x86_64:1.5.5 AS lambda-extension"))
.withStatement(raw("FROM --platform=linux/amd64 public.ecr.aws/lambda/java:11"))
.withStatement(raw("COPY --from=lambda-extension /opt/elastic-apm-extension /opt/extensions/elastic-apm-extension"))
.copy("aws-lambda-test.jar", "${LAMBDA_TASK_ROOT}/lib/aws-lambda-test.jar")
Expand Down

0 comments on commit 63603d5

Please sign in to comment.