Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .ci/oci.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,27 @@
ln -sf /usr/local/go/bin/gofmt /usr/bin/gofmt
RUN go version

ENV NODE_VERSION=22.12.0
RUN export ARCH="$(uname -m)" && if [[ ${ARCH} == "x86_64" ]]; then export ARCH="x64"; elif [[ ${ARCH} == "aarch64" ]]; then export ARCH="arm64"; fi && \
curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${ARCH}.tar.xz" -o node.tar.xz && \
tar -C /usr/local -xJf node.tar.xz && \
rm node.tar.xz && \
ln -sf /usr/local/node-v${NODE_VERSION}-linux-*/bin/node /usr/bin/node && \
ln -sf /usr/local/node-v${NODE_VERSION}-linux-*/bin/npm /usr/bin/npm && \
ln -sf /usr/local/node-v${NODE_VERSION}-linux-*/bin/npx /usr/bin/npx
RUN node --version && npm --version

# Temporary workaround since mirror.centos.org is down and can be replaced with vault.centos.org
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

RUN yum install --assumeyes -d1 python3-pip nodejs gettext jq && \
RUN yum install --assumeyes -d1 python3-pip gettext jq && \
pip3 install --upgrade pip && \
pip3 install --ignore-installed --upgrade setuptools && \
# Install yq and jq
pip3 install yq jq && \
# Install kubectl
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 && \
# Install chectl
bash <(curl -sL https://che-incubator.github.io/chectl/install.sh) --channel=next

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 5: pipCommand not pinned by hash
Click Remediation section below to solve this issue

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 5: pipCommand not pinned by hash
Click Remediation section below to solve this issue

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 5: pipCommand not pinned by hash
Click Remediation section below to solve this issue

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 5: downloadThenRun not pinned by hash
Click Remediation section below to solve this issue
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading