mirror of
https://github.com/openshift/source-to-image.git
synced 2026-02-05 12:44:54 +01:00
17 lines
462 B
Docker
17 lines
462 B
Docker
#
|
|
# This is the release image for building source-to-image.
|
|
#
|
|
# The standard name for this image is openshift/sti-release
|
|
#
|
|
FROM registry.redhat.io/ubi9/go-toolset:1.23 AS builder
|
|
|
|
USER root
|
|
ENV S2I_VERSION_FILE=/opt/app-root/src/source-to-image/sti-version-defs
|
|
|
|
RUN mkdir -p /opt/app-root/src/source-to-image
|
|
|
|
WORKDIR /opt/app-root/src/source-to-image
|
|
VOLUME ["/opt/app-root/src/source-to-image"]
|
|
# Expect source to be mounted in
|
|
CMD ["./hack/build-cross.sh"]
|