github.com/quay/claircore@v1.5.28/rhel/rhcc/testdata/Dockerfile-openshift-ose-logging-elasticsearch6-v4.6.0-202112132021.p0.g2a13a81.assembly.stream (about) 1 FROM sha256:99132805a8fba15728bd1f32feb2c326beff18ea30d82ad82cc7e9a7c04da356 2 ENV __doozer=update BUILD_RELEASE=202112132021.p0.g2a13a81.assembly.stream BUILD_VERSION=v4.6.0 OS_GIT_MAJOR=4 OS_GIT_MINOR=6 OS_GIT_PATCH=0 OS_GIT_TREE_STATE=clean OS_GIT_VERSION=4.6.0-202112132021.p0.g2a13a81.assembly.stream SOURCE_GIT_TREE_STATE=clean 3 ENV __doozer=merge OS_GIT_COMMIT=2a13a81 OS_GIT_VERSION=4.6.0-202112132021.p0.g2a13a81.assembly.stream-2a13a81 SOURCE_DATE_EPOCH=1639424735 SOURCE_GIT_COMMIT=2a13a81f7fcbb01db50add1430a08e5ec4d38be6 SOURCE_GIT_TAG=v3.11.0-alpha.0-1010-g2a13a81f SOURCE_GIT_URL=https://github.com/openshift/origin-aggregated-logging 4 5 MAINTAINER OpenShift Development <dev@lists.openshift.redhat.com> 6 7 8 EXPOSE 9200 9 EXPOSE 9300 10 USER 0 11 12 ARG ES_ARCHIVE_URL 13 ARG PROMETHEUS_EXPORTER_URL 14 ARG OPENDISTRO_URL 15 ARG OPENSHIFT_CI 16 17 ENV ES_PATH_CONF=/etc/elasticsearch/ \ 18 ES_HOME=/usr/share/elasticsearch \ 19 ES_VER=6.8.1.redhat-00012 \ 20 HOME=/opt/app-root/src \ 21 INSTANCE_RAM=512G \ 22 JAVA_VER=11 \ 23 JAVA_HOME=/usr/lib/jvm/jre \ 24 NODE_QUORUM=1 \ 25 PROMETHEUS_EXPORTER_VER=6.8.1.0 \ 26 OPENDISTRO_VER=0.10.1.2-redhat-00006 \ 27 PLUGIN_LOGLEVEL=INFO \ 28 RECOVER_AFTER_NODES=1 \ 29 RECOVER_EXPECTED_NODES=1 \ 30 RECOVER_AFTER_TIME=5m \ 31 DHE_TMP_KEY_SIZE=2048 \ 32 RELEASE_STREAM=prod \ 33 OPENSHIFT_CI=${OPENSHIFT_CI:-false} 34 35 ARG MAVEN_REPO_URL=${MAVEN_REPO_URL:-file:///artifacts/} 36 37 RUN packages="java-${JAVA_VER}-openjdk-headless \ 38 python36 python3-pyyaml \ 39 hostname \ 40 openssl \ 41 zip \ 42 unzip" && \ 43 yum install -y --setopt=tsflags=nodocs ${packages} && \ 44 rpm -V ${packages} && \ 45 alternatives --set python /usr/bin/python3 && \ 46 yum clean all 47 48 ADD extra-jvm.options install-es.sh ci-env.sh /var/tmp 49 50 # Since artifacts does not exist during CI build, include README.MD 51 # which will prevent the copy from raising an error. 52 RUN mkdir /artifacts 53 # In an OSBS build, this will COPY artifacts from fetch-artifacts-koji.yaml. In a CI build, it will just 54 # copy the README.MD. 55 COPY artifacts/* /artifacts 56 COPY *.zip / 57 RUN /var/tmp/install-es.sh 58 59 ADD sgconfig/ ${HOME}/sgconfig/ 60 ADD index_templates/ ${ES_HOME}/index_templates/ 61 ADD index_patterns/ ${ES_HOME}/index_patterns/ 62 ADD init/ ${ES_HOME}/init/ 63 ADD probe/ ${ES_HOME}/probe/ 64 ADD init.sh run.sh ci-env.sh install.sh ${HOME}/ 65 COPY utils/** /usr/local/bin/ 66 67 RUN ${HOME}/install.sh && rm -rf /artifacts 68 69 WORKDIR ${HOME} 70 USER 1000 71 CMD ["sh", "/opt/app-root/src/run.sh"] 72 73 LABEL \ 74 License="GPLv2+" \ 75 io.k8s.description="Elasticsearch container for EFK aggregated logging storage" \ 76 io.k8s.display-name="Elasticsearch 6" \ 77 io.openshift.tags="logging,elk,elasticsearch" \ 78 vendor="Red Hat" \ 79 name="openshift/ose-logging-elasticsearch6" \ 80 com.redhat.component="logging-elasticsearch6-container" \ 81 io.openshift.maintainer.product="OpenShift Container Platform" \ 82 io.openshift.maintainer.component="Logging" \ 83 release="202112132021.p0.g2a13a81.assembly.stream" \ 84 io.openshift.build.commit.id="2a13a81f7fcbb01db50add1430a08e5ec4d38be6" \ 85 io.openshift.build.source-location="https://github.com/openshift/origin-aggregated-logging" \ 86 io.openshift.build.commit.url="https://github.com/openshift/origin-aggregated-logging/commit/2a13a81f7fcbb01db50add1430a08e5ec4d38be6" \ 87 version="v4.6.0" 88 89 90 ADD logging-elasticsearch6-container-v4.6.0-202112132021.p0.g2a13a81.assembly.stream.json /root/buildinfo/content_manifests/logging-elasticsearch6-container-v4.6.0-202112132021.p0.g2a13a81.assembly.stream.json 91 LABEL "com.redhat.license_terms"="https://www.redhat.com/agreements" "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2021-12-13T20:25:40.077527" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="aed8119d2cc4255488e2fc623dfbea9faa4e997c" "com.redhat.build-host"="cpt-1003.osbs.prod.upshift.rdu2.redhat.com" "description"="Elasticsearch container for EFK aggregated logging storage" "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/openshift/ose-logging-elasticsearch6/images/v4.6.0-202112132021.p0.g2a13a81.assembly.stream"