Pipeline with JFrog CLI

This commit is contained in:
Krishna Manchikalapudi 2025-09-26 12:28:53 -07:00
parent 30aab0ae76
commit e2fbe9bef3
6 changed files with 1342 additions and 0 deletions

17
jfrog/Dockerfile Executable file
View file

@ -0,0 +1,17 @@
# base image https://hub.docker.com/layers/library/openjdk/17-jdk-alpine/
# FROM openjdk:17-jdk-alpine
# https://hub.docker.com/_/amazoncorretto/
FROM psazuse.jfrog.io/springpetclinic-docker-virtual/amazoncorretto:17-alpine-jdk
# Set environment variables ref: https://docs.docker.com/build/building/variables/#env-usage-example
ARG JAR_FILE
# ENV JAR_FILE=spring-petclinic-3.5.0-SNAPSHOT.jar
WORKDIR /app
COPY target/${JAR_FILE} /app/
# Set the command to run the Spring Boot application
# java -jar target/spring-petclinic-3.2.0-SNAPSHOT.jar --server.port=7080
# CMD java -jar ${JAR_FILE}
CMD ["java", "-jar", ${JAR_FILE}]

2
jfrog/README.md Normal file
View file

@ -0,0 +1,2 @@
# Spring-PetClinic screenshots in JFrog & GitHub