-
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.
- Loading branch information
1 parent
3ea5ad1
commit be5fdf4
Showing
40 changed files
with
2,171 additions
and
641 deletions.
There are no files selected for viewing
Empty file.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project version="4"> | ||
<component name="DatabaseMigrationSettings" liquibaseFileType="YAML"> | ||
<database-infos> | ||
<database-info> | ||
<option name="enabled" value="true" /> | ||
<dbms-id>postgres</dbms-id> | ||
</database-info> | ||
</database-infos> | ||
</component> | ||
<component name="PersistenceUnitSettings"> | ||
<persistence-units> | ||
<persistence-unit name="Default" defaultIncludeChangeLogFile="src/main/resources/db/changelog/db.changelog-master.yml" defaultSearchScope="Project"> | ||
<packages> | ||
<package value="datum" /> | ||
</packages> | ||
</persistence-unit> | ||
</persistence-units> | ||
</component> | ||
</project> |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#FROM openjdk:17-alpine as app-build | ||
#ENV RELEASE=17 | ||
# | ||
#WORKDIR /opt/build | ||
#COPY ./target/datum-0.0.4.jar ./application.jar | ||
# | ||
#RUN java -Djarmode=layertools -jar application.jar extract | ||
#RUN $JAVA_HOME/bin/jlink \ | ||
# --add-modules `jdeps --ignore-missing-deps -q -recursive --multi-release ${RELEASE} --print-module-deps -cp 'dependencies/BOOT-INF/lib/*':'snapshot-dependencies/BOOT-INF/lib/*' application.jar` \ | ||
# --strip-debug \ | ||
# --no-man-pages \ | ||
# --no-header-files \ | ||
# --compress=2 \ | ||
# --output jdk | ||
# | ||
#FROM debian:buster-slim | ||
# | ||
#ARG BUILD_PATH=/opt/build | ||
#ENV JAVA_HOME=/opt/jdk | ||
#ENV PATH "${JAVA_HOME}/bin:${PATH}" | ||
# | ||
#RUN groupadd --gid 1000 spring-app \ | ||
# && useradd --uid 1000 --gid spring-app --shell /bin/bash --create-home spring-app | ||
# | ||
#USER spring-app:spring-app | ||
#WORKDIR /opt/workspace | ||
# | ||
#COPY --from=app-build $BUILD_PATH/jdk $JAVA_HOME | ||
#COPY --from=app-build $BUILD_PATH/spring-boot-loader/ ./ | ||
#COPY --from=app-build $BUILD_PATH/dependencies/ ./ | ||
#COPY --from=app-build $BUILD_PATH/snapshot-dependencies/ ./ | ||
#COPY --from=app-build $BUILD_PATH/application/ ./ | ||
# | ||
#ENTRYPOINT ["java", "org.springframework.boot.loader.JarLauncher"] | ||
|
||
|
||
##Maven Build | ||
#FROM maven:3.8.3-openjdk-17 AS builder | ||
#COPY pom.xml /app/ | ||
#COPY src /app/src | ||
#RUN --mount=type=cache,target=/root/.m2 mvn -f pom.xml clean package -DskipTests | ||
# | ||
##Run | ||
#FROM openjdk:17-jdk-slim | ||
#COPY --from=builder /target/datum-0.0.4.jar app.jar | ||
#EXPOSE 8080 | ||
#ENTRYPOINT ["java", "-jar", "app.jar"] |
Oops, something went wrong.