forked from microservices-patterns/ftgo-application
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use minimal heap base image for services
- Loading branch information
Showing
9 changed files
with
16 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
FROM openjdk:8u171-jre-alpine | ||
RUN apk --no-cache add curl | ||
CMD java ${JAVA_OPTS} -jar ftgo-accounting-service.jar | ||
HEALTHCHECK --start-period=30s --interval=5s CMD curl -f http://localhost:8080/actuator/health || exit 1 | ||
COPY build/libs/ftgo-accounting-service.jar . | ||
FROM eventuateio/eventuate-examples-docker-images-java-example-base-image:BUILD-5 | ||
COPY build/libs/ftgo-accounting-service.jar service.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
FROM openjdk:8u171-jre-alpine | ||
RUN apk --no-cache add curl | ||
CMD java ${JAVA_OPTS} -jar ftgo-api-gateway.jar | ||
HEALTHCHECK --start-period=30s --interval=5s CMD curl -f http://localhost:8080/actuator/health || exit 1 | ||
COPY build/libs/ftgo-api-gateway.jar . | ||
FROM eventuateio/eventuate-examples-docker-images-java-example-base-image:BUILD-5 | ||
COPY build/libs/ftgo-api-gateway.jar service.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
FROM openjdk:8u171-jre-alpine | ||
RUN apk --no-cache add curl | ||
CMD java ${JAVA_OPTS} -jar ftgo-consumer-service.jar | ||
HEALTHCHECK --start-period=30s --interval=5s CMD curl -f http://localhost:8080/actuator/health || exit 1 | ||
COPY build/libs/ftgo-consumer-service.jar . | ||
FROM eventuateio/eventuate-examples-docker-images-java-example-base-image:BUILD-5 | ||
COPY build/libs/ftgo-consumer-service.jar service.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
FROM openjdk:8u171-jre-alpine | ||
RUN apk --no-cache add curl | ||
HEALTHCHECK --start-period=30s --interval=5s CMD curl -f http://localhost:8080/actuator/health || exit 1 | ||
CMD java ${JAVA_OPTS} -jar ftgo-delivery-service.jar | ||
COPY build/libs/ftgo-delivery-service.jar . | ||
FROM eventuateio/eventuate-examples-docker-images-java-example-base-image:BUILD-5 | ||
COPY build/libs/ftgo-delivery-service.jar service.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
FROM openjdk:8u171-jre-alpine | ||
RUN apk --no-cache add curl | ||
CMD java ${JAVA_OPTS} -jar ftgo-kitchen-service.jar | ||
HEALTHCHECK --start-period=30s --interval=5s CMD curl -f http://localhost:8080/actuator/health || exit 1 | ||
COPY build/libs/ftgo-kitchen-service.jar . | ||
FROM eventuateio/eventuate-examples-docker-images-java-example-base-image:BUILD-5 | ||
COPY build/libs/ftgo-kitchen-service.jar service.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
FROM openjdk:8u171-jre-alpine | ||
RUN apk --no-cache add curl | ||
CMD java ${JAVA_OPTS} -jar ftgo-order-history-service.jar | ||
HEALTHCHECK --start-period=30s --interval=5s CMD curl -f http://localhost:8080/actuator/health || exit 1 | ||
COPY build/libs/ftgo-order-history-service.jar . | ||
FROM eventuateio/eventuate-examples-docker-images-java-example-base-image:BUILD-5 | ||
COPY build/libs/ftgo-order-history-service.jar service.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
FROM openjdk:8u171-jre-alpine | ||
RUN apk --no-cache add curl | ||
CMD java ${JAVA_OPTS} -jar ftgo-order-service.jar | ||
HEALTHCHECK --start-period=30s --interval=5s CMD curl -f http://localhost:8080/actuator/health || exit 1 | ||
COPY build/libs/ftgo-order-service.jar . | ||
FROM eventuateio/eventuate-examples-docker-images-java-example-base-image:BUILD-5 | ||
COPY build/libs/ftgo-order-service.jar service.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
FROM openjdk:8u171-jre-alpine | ||
RUN apk --no-cache add curl | ||
CMD java ${JAVA_OPTS} -jar ftgo-restaurant-service.jar | ||
HEALTHCHECK --start-period=30s --interval=5s CMD curl -f http://localhost:8080/actuator/health || exit 1 | ||
COPY build/libs/ftgo-restaurant-service.jar . | ||
FROM eventuateio/eventuate-examples-docker-images-java-example-base-image:BUILD-5 | ||
COPY build/libs/ftgo-restaurant-service.jar service.jar |