Skip to content

Commit

Permalink
final 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
MakkambaevDastan committed Nov 10, 2023
1 parent 3ea5ad1 commit be5fdf4
Show file tree
Hide file tree
Showing 40 changed files with 2,171 additions and 641 deletions.
Empty file added .github/workflows/workflow.yml
Empty file.
20 changes: 20 additions & 0 deletions .jpb/jpb-settings.xml
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>
47 changes: 47 additions & 0 deletions Dockerfile
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"]
Empty file added README.md
Empty file.
Loading

0 comments on commit be5fdf4

Please sign in to comment.