-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use latest ocp 4.12 oc binary; fix typo in pom.xml bump to latest mavn 3.9.4 Change-Id: Ie9d9aea49e7e46bec4814477489450b277f926b4 Signed-off-by: Nick Boldt <[email protected]>
- Loading branch information
Showing
3 changed files
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,28 +11,30 @@ | |
# Red Hat, Inc. - initial API and implementation | ||
|
||
# Dockerfile to bootstrap build and test in openshift-ci | ||
|
||
FROM registry.access.redhat.com/ubi9/nodejs-18:1 | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
# hadolint ignore=DL3002 | ||
USER 0 | ||
|
||
# Install yq, kubectl, chectl cli used by olm/olm.sh script. | ||
RUN dnf install -y psmisc nodejs-devel nodejs-libs -q --allowerasing --nobest \ | ||
# hadolint ignore=DL3041 | ||
RUN dnf install -y -q --allowerasing --nobest nodejs-devel nodejs-libs psmisc python3-pip jq golang httpd-tools \ | ||
# already installed or installed as deps: | ||
openssl openssl-devel ca-certificates make cmake cpp gcc gcc-c++ zlib zlib-devel brotli brotli-devel python3 nodejs-packaging && \ | ||
dnf update -y && dnf clean all && \ | ||
npm install -g [email protected] npm@9 && \ | ||
echo -n "node version: "; node -v; \ | ||
echo -n "npm version: "; npm -v; \ | ||
echo -n "yarn version: "; yarn -v && \ | ||
yum install --assumeyes -d1 python3-pip httpd-tools && \ | ||
pip3 install --upgrade setuptools && \ | ||
pip3 install yq && \ | ||
echo -n "yarn version: "; yarn -v; \ | ||
go version; \ | ||
pip3 install --upgrade pip setuptools yq && \ | ||
|
||
# Install kubectl, chectl cli used by olm/olm.sh script. | ||
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \ | ||
chmod +x ./kubectl && \ | ||
mv ./kubectl /usr/local/bin && \ | ||
bash <(curl -sL https://www.eclipse.org/che/chectl/) --channel=next && \ | ||
curl https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.12.30/openshift-client-linux.tar.gz | tar xvzf - -C /usr/local/bin/ oc && \ | ||
curl https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest-4.12/openshift-client-linux.tar.gz | tar xvzf - -C /usr/local/bin/ oc && \ | ||
chmod ug+x /usr/local/bin/oc | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters