github.com/quay/claircore@v1.5.28/rhel/dockerfile/testdata/fuzz/FuzzLex/cf56de3b7b19f8820b18632df14923bfd386fbc800b4cf21ac8033761770cf04 (about) 1 go test fuzz v1 2 []byte("# This image is the base image for all s2i configurable container images.\nFROM sha256:6f683d6ef7a8199fdabf203f98cce97d628e40eefa42b7085f1f151d384a97fc\n\nENV SUMMARY=\"Base image which allows using of source-to-image.\"\t\\\n DESCRIPTION=\"The s2i-core image provides any images layered on top of it \\\nwith all the tools needed to use source-to-image functionality while keeping \\\nthe image size as small as possible.\"\n\nLABEL summary=\"$SUMMARY\" \\\n description=\"$DESCRIPTION\" \\\n io.k8s.description=\"$DESCRIPTION\" \\\n io.k8s.display-name=\"s2i core\" \\\n io.openshift.s2i.scripts-url=image:///usr/libexec/s2i \\\n io.s2i.scripts-url=image:///usr/libexec/s2i \\\n com.redhat.component=\"s2i-core-container\" \\\n name=\"rhscl/s2i-core-rhel7\" \\\n version=\"1\" \\\n com.redhat.license_terms=\"https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI\"\n\nENV \\\n # DEPRECATED: Use above LABEL instead, because this will be removed in future versions.\n STI_SCRIPTS_URL=image:///usr/libexec/s2i \\\n # Path to be used in other layers to place s2i scripts into\n STI_SCRIPTS_PATH=/usr/libexec/s2i \\\n APP_ROOT=/opt/app-root \\\n # The $HOME is not set by default, but some applications needs this variable\n # TODO: There is a bug in rhel7.1 image where the PATH variable is not exported\n # properly as container image metadata, which causes the $PATH variable do not\n # expand properly.\n HOME=/opt/app-root/src \\\n PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \\\n PLATFORM=\"el7\"\n\n# When bash is started non-interactively, to run a shell script, for example it\n# looks for this variable and source the content of this file. This will enable\n# the SCL for all scripts without need to do 'scl enable'.\nENV BASH_ENV=${APP_ROOT}/etc/scl_enable \\\n ENV=${APP_ROOT}/etc/scl_enable \\\n PROMPT_COMMAND=\". ${APP_ROOT}/etc/scl_enable\"\n\n# Copy just prepare-yum-repositories that is needed for packages install step,\n# other files might be added later so changing them does not cause packages\n# to be installed again, which takes long time\nCOPY ./root/usr/bin/prepare-yum-repositories /usr/bin/prepare-yum-repositories\n\n# This is the list of basic dependencies that all language container image can\n# consume.\n# Also setup the 'openshift' user that is used for the build execution and for the\n# application runtime execution.\n# TODO: Use better UID and GID values\nRUN prepare-yum-repositories && \\\n INSTALL_PKGS=\"bsdtar \\\n findutils \\\n gettext \\\n groff-base \\\n rsync \\\n scl-utils \\\n tar \\\n unzip \\\n yum-utils\" && \\\n mkdir -p ${HOME}/.pki/nssdb && \\\n chown -R 1001:0 ${HOME}/.pki && \\\n yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \\\n rpm -V $INSTALL_PKGS && \\\n yum -y clean all --enablerepo='*'\n\n# Copy extra files to the image.\nCOPY ./root/ /\n\n# Directory with the sources is set as the working directory so all STI scripts\n# can execute relative to this path.\nWORKDIR ${HOME}\n\nENTRYPOINT [\"container-entrypoint\"]\nCMD [\"base-usage\"]\n\n# Reset permissions of modified directories and add default user\nRUN rpm-file-permissions && \\\n useradd -u 1001 -r -g 0 -d ${HOME} -s /sbin/nologin \\\n -c \"Default Application User\" default && \\\n chown -R 1001:0 ${APP_ROOT}\n\nADD help.1 /help.1\nADD s2i-core-container-1-235.json /root/buildinfo/content_manifests/s2i-core-container-1-235.json\nLABEL \"release\"=\"235\" \"distribution-scope\"=\"public\" \"vendor\"=\"Red Hat, Inc.\" \"build-date\"=\"2021-10-06T13:08:17.304497\" \"architecture\"=\"x86_64\" \"vcs-type\"=\"git\" \"vcs-ref\"=\"7fb31fe42247120f04b5e2d94f1719411f1037e8\" \"com.redhat.build-host\"=\"cpt-1005.osbs.prod.upshift.rdu2.redhat.com\" \"url\"=\"https://access.redhat.com/containers/#/registry.access.redhat.com/rhscl/s2i-core-rhel7/images/1-235\"\n")