UNCLASSIFIED

Commit 8229057e authored by Andy Maksymowicz's avatar Andy Maksymowicz
Browse files

Update Dockerfile

parent 411b7782
################################################################################# #################################################################################
# Default Image Source # Default Image Source
ARG BASE_REGISTRY=nexus-docker-secure.levelup-dev.io ARG BASE_REGISTRY=registry1.dsop.io
ARG BASE_IMAGE=redhat/openjdk/openjdk8 ARG BASE_IMAGE=ironbank/redhat/openjdk/openjdk8
ARG BASE_TAG=1.8 ARG BASE_TAG=1.8
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
...@@ -9,7 +9,7 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} ...@@ -9,7 +9,7 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
LABEL name="Gradle jre8" \ LABEL name="Gradle jre8" \
maintainer="gavin.scallon@parsons.com" \ maintainer="gavin.scallon@parsons.com" \
vendor="Open Source" \ vendor="Open Source" \
version="6.5" \ version="6.6" \
release="1" \ release="1" \
summary="Gradle is a build tool with a focus on build automation and support for multi-language development." \ summary="Gradle is a build tool with a focus on build automation and support for multi-language development." \
description="This Gradle container is designed to support build automation for jre8." description="This Gradle container is designed to support build automation for jre8."
...@@ -17,13 +17,13 @@ LABEL name="Gradle jre8" \ ...@@ -17,13 +17,13 @@ LABEL name="Gradle jre8" \
USER 0 USER 0
ENV GRADLE_HOME=/opt/gradle ENV GRADLE_HOME=/opt/gradle
COPY gradle-6.5-bin.zip / COPY gradle-6.6-bin.zip /
RUN dnf update -y && \ RUN dnf update -y && \
dnf install -y unzip && \ dnf install -y unzip && \
unzip -d ${GRADLE_HOME} /gradle-6.5-bin.zip && \ unzip -d ${GRADLE_HOME} /gradle-6.6-bin.zip && \
rm -f gradle-6.5-bin.zip && \ rm -f gradle-6.6-bin.zip && \
ln -s /opt/gradle/gradle-6.5/bin/gradle /usr/bin/gradle && \ ln -s /opt/gradle/gradle-6.6/bin/gradle /usr/bin/gradle && \
dnf clean all && \ dnf clean all && \
rm -rf /var/cache/dnf rm -rf /var/cache/dnf
......
  • Pipeline Status: ABORTED
    ABORTED Stage: Build
    Branch: patch-1

    graph LR
      0([setup]):::INTERNAL_SUCCESS --> 3([Import Artifacts]):::SUCCESS --> 4((/)):::INTERNAL_SUCCESS --> 5([Stage Artifacts]):::SUCCESS --> 6((/)):::INTERNAL_SUCCESS --> 7([Build]):::ABORTED --> 8([Publish, Scan & Report]):::INTERNAL_NOT_BUILT
    
    classDef SUCCESS font-size:10px
    classDef FAILURE fill:#f44, font-size:10px
    classDef SKIPPED font-size:10px
    classDef ABORTED fill:#889, font-size:10px
    classDef INTERNAL_SUCCESS font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_FAILURE fill:#f44, font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_SKIPPED font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_ABORTED fill:#889, font-size:10px, stroke-dasharray: 2, 1
    
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment