UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 84c8b40e authored by Al Fontaine's avatar Al Fontaine
Browse files

Merge branch 'development' into 'master'

Master: updated to 1.0.1 tag

See merge request !26
parents 13db2c08 b163438b
No related branches found
No related tags found
2 merge requests!33Agg update,!26Master: updated to 1.0.1 tag
Pipeline #1344852 passed
Pipeline: elrr-aggregator

#1344859

    ...@@ -2,12 +2,13 @@ ARG BASE_REGISTRY=registry1.dso.mil ...@@ -2,12 +2,13 @@ ARG BASE_REGISTRY=registry1.dso.mil
    ARG BASE_IMAGE=ironbank/redhat/openjdk/openjdk17 ARG BASE_IMAGE=ironbank/redhat/openjdk/openjdk17
    ARG BASE_TAG=1.17 ARG BASE_TAG=1.17
    FROM registry1.dso.mil/ironbank/opensource/maven/maven-openjdk-17:3.8.5-openjdk-17 as base FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} as base
    USER 0 USER 0
    # Copy and extract ELRR Aggregator source code # Copy and extract ELRR Aggregator source code
    COPY elrraggregator-1.1.tar.gz . COPY elrraggregator-1.1.tar.gz .
    # ELRR Aggregator Dependencies
    RUN tar -xvf ./elrraggregator-1.1.tar.gz --strip-components=1 && \ RUN tar -xvf ./elrraggregator-1.1.tar.gz --strip-components=1 && \
    mkdir -p target/dependency && \ mkdir -p target/dependency && \
    cd elrraggregator-0.0.1-SNAPSHOT && \ cd elrraggregator-0.0.1-SNAPSHOT && \
    ...@@ -15,7 +16,7 @@ RUN tar -xvf ./elrraggregator-1.1.tar.gz --strip-components=1 && \ ...@@ -15,7 +16,7 @@ RUN tar -xvf ./elrraggregator-1.1.tar.gz --strip-components=1 && \
    mv META-INF/ ../target/dependency/ && \ mv META-INF/ ../target/dependency/ && \
    mv org/ ../target/dependency/ mv org/ ../target/dependency/
    # Cleaning up unnecessary files
    RUN dnf update -y && \ RUN dnf update -y && \
    dnf install -y java-devel && \ dnf install -y java-devel && \
    dnf clean all && \ dnf clean all && \
    ...@@ -24,11 +25,12 @@ RUN dnf update -y && \ ...@@ -24,11 +25,12 @@ RUN dnf update -y && \
    FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} as runner FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} as runner
    USER 0 USER 0
    #COPY --from=base /usr/lib/jvm/openjdk-15/ /usr/lib/jvm/openjdk-15/ # Copying dependencies from base
    COPY --from=base /home/maven/target/dependency/BOOT-INF/lib /app/lib COPY --from=base ./target/dependency/BOOT-INF/lib /app/lib
    COPY --from=base /home/maven/target/dependency/META-INF /app/META-INF COPY --from=base ./target/dependency/META-INF /app/META-INF
    COPY --from=base /home/maven/target/dependency/BOOT-INF/classes /app COPY --from=base ./target/dependency/BOOT-INF/classes /app
    # Cleaning up unnecessary files
    RUN dnf update -y && \ RUN dnf update -y && \
    dnf install -y java-devel && \ dnf install -y java-devel && \
    dnf clean all && \ dnf clean all && \
    ......
    ...@@ -8,6 +8,7 @@ name: "opensource/adl-initiative/elrr/elrr-aggregator" ...@@ -8,6 +8,7 @@ name: "opensource/adl-initiative/elrr/elrr-aggregator"
    # The most specific version should be the first tag and will be shown # The most specific version should be the first tag and will be shown
    # on ironbank.dsop.io # on ironbank.dsop.io
    tags: tags:
    - "1.0.1"
    - "1.0.0" - "1.0.0"
    - "latest" - "latest"
    ...@@ -18,13 +19,13 @@ args: ...@@ -18,13 +19,13 @@ args:
    # Docker image labels # Docker image labels
    labels: labels:
    org.opencontainers.image.title: "elrraggregator" org.opencontainers.image.title: "ELRR aggregator"
    org.opencontainers.image.description: "Image for Enterprise Learner Record Repository (ELRR) service which aggregates learner profiles" org.opencontainers.image.description: "Image for Enterprise Learner Record Repository (ELRR) service which aggregates learner profiles"
    # URL to find more information on the image # URL to find more information on the image
    org.opencontainers.image.licenses: "Oracle Technology Network License" org.opencontainers.image.licenses: "Oracle Technology Network License"
    org.opencontainers.image.url: "https://github.com/US-ELRR/elrraggregator" org.opencontainers.image.url: "https://github.com/US-ELRR/elrraggregator"
    org.opencontainers.image.vendor: "Enterprise Learner Record Repository (ELRR)" org.opencontainers.image.vendor: "Enterprise Learner Record Repository (ELRR)"
    org.opencontainers.image.version: "1.0.0" org.opencontainers.image.version: "1.0.1"
    mil.dso.ironbank.image.keywords: "elrr, aggregator, elrraggregator, enterprise learner record repository" mil.dso.ironbank.image.keywords: "elrr, aggregator, elrraggregator, enterprise learner record repository"
    # Product the image belongs to for grouping multiple images # Product the image belongs to for grouping multiple images
    mil.dso.ironbank.product.name: "Enterprise Learner Record Repository (ELRR)" mil.dso.ironbank.product.name: "Enterprise Learner Record Repository (ELRR)"
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment