File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- FROM amazonlinux:2
1+ FROM public.ecr.aws/amazonlinux/ amazonlinux:2
22
33RUN yum install -y java-1.8.0-openjdk.x86_64 &&\
44 yum install -y python3.x86_64 &&\
Original file line number Diff line number Diff line change 11#
22# Build stage
33#
4- FROM maven:3.6.0 -jdk-11-slim AS build
4+ FROM public.ecr.aws/hotmart/pipeline- maven:3-jdk-11-slim AS build
55COPY src /home/app/src
66COPY pom.xml /home/app
77RUN mvn -f /home/app/pom.xml clean package
88
99#
1010# Package stage
1111#
12- FROM openjdk:11-jre-slim
12+ FROM public.ecr.aws/rogii/ openjdk:11-corretto
1313COPY --from=build /home/app/target/producer-0.0.1-SNAPSHOT.jar /usr/local/lib/dataprocessor-producer.jar
1414EXPOSE 8080
1515ENTRYPOINT ["java" ,"-jar" ,"/usr/local/lib/dataprocessor-producer.jar" ]
You can’t perform that action at this time.
0 commit comments