Skip to content

Commit 0074a00

Browse files
author
Vadym Kazulkin
committed
improved readme
1 parent 0953b90 commit 0074a00

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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
@@ -12,7 +12,7 @@ FROM base as build
1212
RUN apt-get update && \
1313
apt-get -y install sudo maven
1414

15-
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
15+
#RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
1616
RUN sudo chown root:root $JAVA_HOME/lib/criu
1717
RUN sudo chmod u+s $JAVA_HOME/lib/criu
1818

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Resources:
179179

180180
Properties:
181181
PackageType: Image
182-
ImageUri: !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-spring-boot-3.2-java21-crac-custom-docker-image:v1
182+
ImageUri: !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-spring-boot-3.2-java21-with-crac-custom-docker-image:v1
183183
ImageConfig:
184184
Command: ["org.springframework.cloud.function.adapter.aws.FunctionInvoker::handleRequest"]
185185
Environment:
@@ -221,7 +221,7 @@ Resources:
221221
Type: AWS::Serverless::Function
222222
Properties:
223223
PackageType: Image
224-
ImageUri: !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-spring-boot-3.2-java21-crac-custom-docker-image:v1
224+
ImageUri: !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-spring-boot-3.2-java21-with-crac-custom-docker-image:v1
225225
ImageConfig:
226226
Command: ["org.springframework.cloud.function.adapter.aws.FunctionInvoker::handleRequest"]
227227
Environment:

0 commit comments

Comments
 (0)