mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* Bumping odo version before release Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com> * Update Changelog.md Co-authored-by: Dharmit Shah <shahdharmit@gmail.com> * Changing back to next Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com> * Adding more items to changelog Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com> * Updating changelog Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com> Co-authored-by: Dharmit Shah <shahdharmit@gmail.com>
24 lines
1.0 KiB
Docker
24 lines
1.0 KiB
Docker
# This Dockerfile builds an image containing the Linux, Mac and Windows version of odo
|
|
# layered on top of the ubi7/ubi image.
|
|
|
|
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.15 AS builder
|
|
|
|
COPY . /go/src/github.com/openshift/odo
|
|
WORKDIR /go/src/github.com/openshift/odo
|
|
RUN make cross
|
|
|
|
FROM registry.access.redhat.com/ubi7/ubi
|
|
|
|
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 \
|
|
maintainer=devtools-deploy@redhat.com \
|
|
summary="This image contains the Linux, Mac and Windows version of odo"
|
|
|
|
# Change version as needed. Note no "-" is allowed
|
|
LABEL version=2.2.4
|
|
|
|
COPY --from=builder /go/src/github.com/openshift/odo/dist/bin/darwin-amd64/odo /usr/share/openshift/odo/mac/odo
|
|
COPY --from=builder /go/src/github.com/openshift/odo/dist/bin/windows-amd64/odo.exe /usr/share/openshift/odo/windows/odo.exe
|
|
COPY --from=builder /go/src/github.com/openshift/odo/dist/bin/linux-amd64/odo /usr/share/openshift/odo/linux/odo
|