1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00
Files
source-to-image/images/release/Dockerfile
Sayan Biswas 26d3bd019f Update golang to 1.23
Changes:
- Update go.mod to 1.23
- Update Dockerfiles and CI
2025-05-23 13:30:29 +05:30

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"]