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

25 lines
789 B
Docker
Raw Normal View History

#
# This is the release image for building source-to-image.
#
# The standard name for this image is openshift/sti-release
#
FROM registry.redhat.io/ubi8/ubi
ENV VERSION=1.20 \
2017-01-06 11:23:22 +00:00
GOARM=5 \
GOPATH=/go \
GOROOT=/usr/local/go \
S2I_VERSION_FILE=/go/src/github.com/openshift/source-to-image/sti-version-defs
ENV PATH=$PATH:$GOROOT/bin:$GOPATH/bin
2022-12-13 22:17:49 -05:00
RUN yum install -y git gcc zip && \
2017-01-06 11:23:22 +00:00
yum clean all && \
curl https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz | tar -C /usr/local -xzf - && \
touch /sti-build-image && \
mkdir -p /go/src/github.com/openshift/source-to-image
WORKDIR /go/src/github.com/openshift/source-to-image
VOLUME ["/go/src/github.com/openshift/source-to-image"]
# Expect source to be mounted in
CMD ["./hack/build-cross.sh"]