mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Adding oc from build to container image (#3418)
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
# Dockerfile to bootstrap build and test in openshift-ci
|
||||
|
||||
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.12
|
||||
|
||||
RUN yum -y install make wget gcc git httpd-tools
|
||||
|
||||
# This is a temporary change to make sure that it should run on both template based as well as multi-stage test
|
||||
# will remove this change once we completely migrate to multi-stage test infra
|
||||
COPY openshift-ci/build-root/multistage/check-oc.sh .
|
||||
RUN ./check-oc.sh
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
|
||||
## Constants
|
||||
OC_BINARY="./oc"
|
||||
|
||||
# Copy oc binary to bin path
|
||||
if [ -f $OC_BINARY ]; then
|
||||
cp ./oc /usr/bin/oc
|
||||
fi
|
||||
3
openshift-ci/build-root/source-image/Dockerfile
Normal file
3
openshift-ci/build-root/source-image/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM src
|
||||
|
||||
COPY oc /usr/bin/oc
|
||||
Reference in New Issue
Block a user