-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathContainerfile
More file actions
40 lines (30 loc) · 1.56 KB
/
Copy pathContainerfile
File metadata and controls
40 lines (30 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM registry.redhat.io/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9@sha256:8a82997a29741ecf41492c7aa5c9ee57aa0e7c3bcda1fc854c1ae8686632a36f
USER root
ENV HELM_VERSION=3.17.2 \
ROX_VERSION=4.7.0 \
KUBELINTER_VERSION=0.7.2 \
COSIGN_VERSION=2.4.3 \
SYFT_VERSION=1.21.0 \
KUBESEAL_VERSION=0.29.0
# helm
RUN curl -skL -o /tmp/helm.tar.gz https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz && \
tar -C /tmp -xzf /tmp/helm.tar.gz && \
mv -v /tmp/linux-amd64/helm /usr/local/bin && \
chmod -R 775 /usr/local/bin/helm && \
rm -rf /tmp/linux-amd64
# roxctl client
RUN curl -sL -o /usr/local/bin/roxctl https://mirror.openshift.com/pub/rhacs/assets/${ROX_VERSION}/bin/Linux/roxctl && \
chmod +x /usr/local/bin/roxctl
# kube-linter
RUN curl -sL https://github.com/stackrox/kube-linter/releases/download/v${KUBELINTER_VERSION}/kube-linter-linux.tar.gz | tar -C /usr/local/bin -xzf - && \
chmod +x /usr/local/bin/kube-linter
# cosign
RUN curl -skL -o /usr/local/bin/cosign https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}/cosign-linux-amd64 && \
chmod -R 775 /usr/local/bin/cosign
# syft
RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/v${SYFT_VERSION}/install.sh | sh -s -- -b /usr/local/bin
# kubeseal
RUN curl -sL https://github.com/bitnami-labs/sealed-secrets/releases/download/v${KUBESEAL_VERSION}/kubeseal-${KUBESEAL_VERSION}-linux-amd64.tar.gz | tar --no-same-owner -xzf - -C /usr/local/bin kubeseal && \
chmod -R 755 /usr/local/bin/kubeseal
USER 1001
WORKDIR /opt/app-root/src