mirror of
https://github.com/openshift/source-to-image.git
synced 2026-02-05 03:45:02 +01:00
Changes: - Konflux Dockerfiles updated to use authenticated UBI images from authenticated registry - Upstream release Dockerfile updated to use golang builder image 1.25.3 Signed-off-by: Sayan Biswas <sayan-biswas@live.com>
17 lines
473 B
Docker
17 lines
473 B
Docker
#
|
|
# This is the release image for building source-to-image.
|
|
#
|
|
# The standard name for this image is openshift/sti-release
|
|
#
|
|
FROM registry.access.redhat.com/ubi10/go-toolset:1.25.3 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"]
|