Skip to content

Commit 9c1bed9

Browse files
committed
Moving to public ECR
1 parent d8ebeb7 commit 9c1bed9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

consumer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM amazonlinux:2
1+
FROM public.ecr.aws/amazonlinux/amazonlinux:2
22

33
RUN yum install -y java-1.8.0-openjdk.x86_64 &&\
44
yum install -y python3.x86_64 &&\

producer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
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
55
COPY src /home/app/src
66
COPY pom.xml /home/app
77
RUN 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
1313
COPY --from=build /home/app/target/producer-0.0.1-SNAPSHOT.jar /usr/local/lib/dataprocessor-producer.jar
1414
EXPOSE 8080
1515
ENTRYPOINT ["java","-jar","/usr/local/lib/dataprocessor-producer.jar"]

0 commit comments

Comments
 (0)