Skip to content
Snippets Groups Projects
Verified Commit 99ef3017 authored by Martin Weise's avatar Martin Weise
Browse files
parent 05c7e879
Branches
Tags
1 merge request!411WIP
Showing
with 73 additions and 16 deletions
###### FIRST STAGE ###### ###### FIRST STAGE ######
FROM dbrepo-core:build AS dependency
LABEL org.opencontainers.image.authors="martin.weise@tuwien.ac.at"
###### SECOND STAGE ######
FROM maven:3-amazoncorretto-17 AS build FROM maven:3-amazoncorretto-17 AS build
LABEL org.opencontainers.image.authors="martin.weise@tuwien.ac.at" LABEL org.opencontainers.image.authors="martin.weise@tuwien.ac.at"
...@@ -10,8 +6,6 @@ COPY ./pom.xml ./ ...@@ -10,8 +6,6 @@ COPY ./pom.xml ./
RUN mvn -fn dependency:go-offline RUN mvn -fn dependency:go-offline
COPY --from=dependency /root/.m2/repository/at/ac/tuwien/ifs/dbrepo /root/.m2/repository/at/ac/tuwien/ifs/dbrepo
COPY ./querystore ./querystore COPY ./querystore ./querystore
COPY ./report ./report COPY ./report ./report
COPY ./rest-service ./rest-service COPY ./rest-service ./rest-service
...@@ -20,11 +14,14 @@ COPY ./services ./services ...@@ -20,11 +14,14 @@ COPY ./services ./services
# Make sure it compiles # Make sure it compiles
RUN mvn -fn clean package -DskipTests RUN mvn -fn clean package -DskipTests
###### THIRD STAGE ###### ###### SECOND STAGE ######
FROM amazoncorretto:17-alpine3.19 AS runtime FROM amazoncorretto:17-alpine3.19 AS runtime
LABEL org.opencontainers.image.authors="martin.weise@tuwien.ac.at" LABEL org.opencontainers.image.authors="martin.weise@tuwien.ac.at"
RUN apk add --no-cache curl bash jq RUN apk --no-cache add \
bash \
curl \
jq
WORKDIR /app WORKDIR /app
......
File added
31b7fb02b0ee64b72460aabbcfd642fe
\ No newline at end of file
3f93b6217b6dc7694d15ecd752af2df84a458bda
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>at.ac.tuwien.ifs.dbrepo</groupId>
<artifactId>dbrepo-core</artifactId>
<version>1.8.1</version>
</project>
439bfdd34cb9013bacf0fef173d229f7
\ No newline at end of file
df63ba72231cad9fee59b9bf10591941f6a8bbf8
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>at.ac.tuwien.ifs.dbrepo</groupId>
<artifactId>dbrepo-core</artifactId>
<versioning>
<release>1.8.1</release>
<versions>
<version>1.8.1</version>
</versions>
<lastUpdated>20250417170017</lastUpdated>
</versioning>
</metadata>
59052bbb00ad9c74d837ede597de9ac4
\ No newline at end of file
dc0b2a3dd9f784e16ea1a4c359a9656cc11862a8
\ No newline at end of file
[INPUT]
Name cpu
Tag cpu
[OUTPUT]
Name opensearch
Match *
Host search-db
Port 9200
Index logging
Logstash_Format True
Logstash_Prefix dbrepo
\ No newline at end of file
###### FIRST STAGE ###### ###### FIRST STAGE ######
FROM dbrepo-core:build AS dependency
LABEL org.opencontainers.image.authors="martin.weise@tuwien.ac.at"
###### SECOND STAGE ######
FROM maven:3-amazoncorretto-17 AS build FROM maven:3-amazoncorretto-17 AS build
LABEL org.opencontainers.image.authors="martin.weise@tuwien.ac.at" LABEL org.opencontainers.image.authors="martin.weise@tuwien.ac.at"
...@@ -10,8 +6,6 @@ COPY ./pom.xml ./ ...@@ -10,8 +6,6 @@ COPY ./pom.xml ./
RUN mvn -fn dependency:go-offline RUN mvn -fn dependency:go-offline
COPY --from=dependency /root/.m2/repository/at/ac/tuwien/ifs/dbrepo /root/.m2/repository/at/ac/tuwien/ifs/dbrepo
COPY ./oai ./oai COPY ./oai ./oai
COPY ./report ./report COPY ./report ./report
COPY ./repositories ./repositories COPY ./repositories ./repositories
...@@ -21,11 +15,14 @@ COPY ./services ./services ...@@ -21,11 +15,14 @@ COPY ./services ./services
# Make sure it compiles # Make sure it compiles
RUN mvn -fn clean package -DskipTests RUN mvn -fn clean package -DskipTests
###### THIRD STAGE ###### ###### SECOND STAGE ######
FROM amazoncorretto:17-alpine3.19 AS runtime FROM amazoncorretto:17-alpine3.19 AS runtime
LABEL org.opencontainers.image.authors="martin.weise@tuwien.ac.at" LABEL org.opencontainers.image.authors="martin.weise@tuwien.ac.at"
RUN apk add --no-cache curl bash jq RUN apk --no-cache add \
bash \
curl \
jq
WORKDIR /app WORKDIR /app
......
File added
31b7fb02b0ee64b72460aabbcfd642fe
\ No newline at end of file
3f93b6217b6dc7694d15ecd752af2df84a458bda
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>at.ac.tuwien.ifs.dbrepo</groupId>
<artifactId>dbrepo-core</artifactId>
<version>1.8.1</version>
</project>
439bfdd34cb9013bacf0fef173d229f7
\ No newline at end of file
df63ba72231cad9fee59b9bf10591941f6a8bbf8
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>at.ac.tuwien.ifs.dbrepo</groupId>
<artifactId>dbrepo-core</artifactId>
<versioning>
<release>1.8.1</release>
<versions>
<version>1.8.1</version>
</versions>
<lastUpdated>20250417170018</lastUpdated>
</versioning>
</metadata>
725d5aecb7efb5b77615505e43e9354d
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment