2014-11-28 11:43:56 +01:00
|
|
|
#
|
|
|
|
|
# This is the release image for building source-to-image.
|
|
|
|
|
#
|
|
|
|
|
# The standard name for this image is openshift/sti-release
|
|
|
|
|
#
|
2025-11-17 02:05:40 +05:30
|
|
|
FROM registry.redhat.io/ubi9/go-toolset:1.24 AS builder
|
2014-11-28 11:43:56 +01:00
|
|
|
|
2024-05-09 13:48:01 -04:00
|
|
|
USER root
|
|
|
|
|
ENV S2I_VERSION_FILE=/opt/app-root/src/source-to-image/sti-version-defs
|
2017-01-06 11:23:22 +00:00
|
|
|
|
2024-05-09 13:48:01 -04:00
|
|
|
RUN mkdir -p /opt/app-root/src/source-to-image
|
2014-11-28 11:43:56 +01:00
|
|
|
|
2024-05-09 13:48:01 -04:00
|
|
|
WORKDIR /opt/app-root/src/source-to-image
|
|
|
|
|
VOLUME ["/opt/app-root/src/source-to-image"]
|
2020-10-09 13:56:15 -04:00
|
|
|
# Expect source to be mounted in
|
|
|
|
|
CMD ["./hack/build-cross.sh"]
|