-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathContainerfile
More file actions
47 lines (35 loc) · 1.55 KB
/
Containerfile
File metadata and controls
47 lines (35 loc) · 1.55 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
41
42
43
44
45
FROM quay.io/konflux-ci/yq@sha256:f89dc33e79bc802d67bc983459d4a0e4cf84f8b178faa690dccc9236615e48f0 as yq
FROM registry.redhat.io/openshift4/ose-cli-artifacts-rhel9:v4.17.0-202504091537.p0.g0000b3e.assembly.stream.el9 as oc
FROM registry.access.redhat.com/ubi9/ubi:latest@sha256:05fa0100593c08b5e9dde684cd3eaa94b4d5d7b3cc09944f1f73924e49fde036
COPY --from=yq /usr/bin/yq /usr/bin/yq
COPY --from=oc /usr/bin/oc /usr/bin/oc
RUN dnf -y install git \
ruby \
gcc \
python-unversioned-command \
python3-devel \
python3-pip \
diffutils \
krb5-devel \
&& dnf clean all
COPY requirements.txt ./
RUN pip3 install -r requirements.txt
# Because Cachi2 doesn't support ruby, we've got to gem install it for now
# Can look into building it from source later, although without prefetch
# not much more secure
# Currently doing the gem install is breaking syft
# This should work with ruby prefetch but that's still a preview
# RUN gem install mdl
LABEL name="konflux-release-data-ci" \
version="0.2" \
release="1" \
summary="Container image for running gitlab ci tasks for konflux-release-data config repo" \
com.redhat.component="konflux-release-data-ci" \
description="see summary :D" \
distribution-scope="restricted" \
url="https://github.com/release-engineering/konflux-release-data-ci/tree/main" \
vendor="Red Hat, Inc." \
io.k8s.display-name="konflux-release-data-ci" \
io.k8s.description="Container image for running gitlab ci tasks for konflux-release-data config repo" \
io.openshift.tags="oci"
ENTRYPOINT []