Skip to content

Commit 0ef60ec

Browse files
author
Vadym Kazulkin
committed
investigate spring boot and in crac in lambda container image
1 parent 962a6e8 commit 0ef60ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-3.2-docker-image-with-crac/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM azul/zulu-openjdk-alpine:21-latest as base
1+
FROM azul/zulu-openjdk:21-jdk-crac-latest as base
22

33
# Configure the build environment
44
FROM base as build

spring-boot-3.2-docker-image-with-crac/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Globals:
1515
MemorySize: 1024
1616
Environment:
1717
Variables:
18-
JAVA_TOOL_OPTIONS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
18+
JAVA_TOOL_OPTIONS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Dspring.context.checkpoint=onRefresh -XX:CRaCCheckpointTo=./tmp"
1919
MAIN_CLASS: software.amazonaws.Application
2020
PRODUCT_TABLE_NAME: !Ref ProductsTable
2121

0 commit comments

Comments
 (0)