UNCLASSIFIED - NO CUI

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

Updated Dockerfile

parent 29c3ae61
No related branches found
No related tags found
2 merge requests!22Master,!21elrr-agg-code-commit to development
Pipeline #1112059 failed
......@@ -6,11 +6,15 @@ ARG DEPENDENCY=target/dependency
FROM registry1.dso.mil/ironbank/opensource/maven/maven-openjdk-17:3.8.5-openjdk-17 as base
COPY elrraggregator-1.0.tar.gz .
RUN echo "extracting elrraggregator-1.0.tar.gz" && \
tar -xvf ./elrraggregator-1.0.tar.gz --strip-components=1 && \
echo "List present working directory" && \
COPY *.jar .
RUN dnf update -y && \
dnf install -y java-devel && \
dnf clean all && \
rm -rf /var/cache/dnf
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 && \
......
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