UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Unverified Commit 440881a5 authored by Simeranjeet Sandhu's avatar Simeranjeet Sandhu
Browse files

Fixing build image stage errors

parent 54d9035e
No related branches found
No related tags found
2 merge requests!22Master,!21elrr-agg-code-commit to development
Pipeline #1131755 failed
......@@ -6,22 +6,25 @@ ARG DEPENDENCY=target/dependency
FROM registry1.dso.mil/ironbank/opensource/maven/maven-openjdk-17:3.8.5-openjdk-17 as base
USER 0
RUN pwd && \
ls -al
COPY elrraggregator-1.0.tar.gz .
COPY *.jar .
RUN pwd && \
ls -al
RUN dnf update -y && \
dnf install -y java-devel && \
dnf clean all && \
rm -rf /var/cache/dnf \
RUN echo "extracting elrraggregator-1.0.tar.gz" && \
tar -xvf ./elrraggregator-1.0.tar.gz --strip-components=1 && \
RUN tar -xvf ./elrraggregator-1.0.tar.gz --strip-components=1 && \
pwd && \
echo "listing all files/permissions" && \
ls -al &&\
#echo "running maven build" && \
#mvn clean install -e -Dmaven.test.skip=true && \
mvn clean install -e -Dmaven.test.skip=true && \
#mkdir -p target/dependency && (cd target/dependency; jar -xf ../elrraggregator-0.0.1-SNAPSHOT.jar)
mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar)
......
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