-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathContainerfile
More file actions
48 lines (36 loc) · 1.57 KB
/
Copy pathContainerfile
File metadata and controls
48 lines (36 loc) · 1.57 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
46
FROM quay.io/konflux-ci/yq@sha256:d4feadf33854f9d9aef4e7deed45ba61d4c69d3fc2a685e82ad8ba12fc8bbae1 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:b8923f58ef6aebe2b8f543f8f6c5af15c6f9aeeef34ba332f33bf7610012de0c
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 \
libyaml-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 []