Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (17 sloc) 1.04 KB
# This Dockerfile builds an image containing the Linux, Mac and Windows version of odo
# layered on top of the ubi7/ubi image.
FROM AS builder
COPY . /go/src/
WORKDIR /go/src/
RUN make cross
LABEL com.redhat.component=atomic-openshift-odo-cli-artifacts-container \
name=openshift/odo-cli-artifacts \
io.k8s.display-name=atomic-openshift-odo-cli-artifacts-image \ \
summary="This image contains the Linux, Mac and Windows version of odo"
# Change version as needed. Note no "-" is allowed
LABEL version=1.0.0
COPY --from=builder /go/src/ /usr/share/openshift/odo/mac/odo
COPY --from=builder /go/src/ /usr/share/openshift/odo/windows/odo.exe
COPY --from=builder /go/src/ /usr/share/openshift/odo/linux/odo
You can’t perform that action at this time.