github.com/openshift/source-to-image@v1.4.1-0.20240516041539-bf52fc02204e/images/release/Dockerfile (about)

     1  #
     2  # This is the release image for building source-to-image.
     3  #
     4  # The standard name for this image is openshift/sti-release
     5  #
     6  FROM registry.redhat.io/ubi9/go-toolset:1.20.12 AS builder
     7  
     8  USER root
     9  ENV S2I_VERSION_FILE=/opt/app-root/src/source-to-image/sti-version-defs
    10  
    11  RUN mkdir -p /opt/app-root/src/source-to-image
    12  
    13  WORKDIR /opt/app-root/src/source-to-image
    14  VOLUME ["/opt/app-root/src/source-to-image"]
    15  # Expect source to be mounted in
    16  CMD ["./hack/build-cross.sh"]