UNCLASSIFIED - NO CUI

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

Fixing Build Image errors. Dockerfile modified

parent 42c8fadd
No related branches found
No related tags found
2 merge requests!22Master,!21elrr-agg-code-commit to development
Pipeline #1168211 failed
......@@ -11,8 +11,8 @@ RUN pwd && \
COPY elrraggregator-1.0.tar.gz .
RUN tar -xvf ./elrraggregator-1.0.tar.gz --strip-components=1 && \
pwd && \
RUN pwd && \
tar -xvf ./elrraggregator-1.0.tar.gz --strip-components=1 && \
ls -al &&\
#echo "running maven build" && \
#mvn clean install -e -Dmaven.test.skip=true && \
......@@ -20,10 +20,10 @@ RUN tar -xvf ./elrraggregator-1.0.tar.gz --strip-components=1 && \
mkdir -p target/dependency
#mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar)
RUN dnf update -y && \
dnf install -y java-devel && \
dnf clean all && \
rm -rf /var/cache/dnf \
#RUN dnf update -y && \
# dnf install -y java-devel && \
# dnf clean all && \
# rm -rf /var/cache/dnf
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} as runner
......@@ -35,10 +35,10 @@ COPY --from=base ${DEPENDENCY}/BOOT-INF/lib /app/lib
COPY --from=base ${DEPENDENCY}/META-INF /app/META-INF
COPY --from=base ${DEPENDENCY}/BOOT-INF/classes /app
RUN dnf update -y && \
dnf install -y java-devel && \
dnf clean all && \
rm -rf /var/cache/dnf \
#RUN dnf update -y && \
# dnf install -y java-devel && \
# dnf clean all && \
# rm -rf /var/cache/dnf
USER 1001
......
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