File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
# Build the manager binary
2
- ARG BUILDPLATFORM=linux/amd64
3
-
4
2
FROM --platform=$BUILDPLATFORM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.22.5-202407301806.g4c8b32d.el9 AS bpfman-agent-build
5
3
6
4
# The following ARGs are set internally by docker/build-push-action in github actions
@@ -31,13 +29,12 @@ ARG TARGETPLATFORM
31
29
WORKDIR /
32
30
COPY --from=bpfman-agent-build /usr/src/bpfman-operator/bpfman-agent .
33
31
34
- # Install crictl
35
- RUN ${DNF_CMD} -y install wget tar gzip ca-certificates
36
- ARG VERSION="v1.31.0"
37
- RUN wget https://github.com/kubernetes-sigs/cri-tools/releases/download/${VERSION}/crictl-${VERSION}-linux-${TARGETARCH}.tar.gz
38
- RUN tar zxvf crictl-${VERSION}-linux-${TARGETARCH}.tar.gz -C /usr/local/bin
39
- RUN rm -f crictl-${VERSION}-linux-${TARGETARCH}.tar.gz
40
- RUN ${DNF_CMD} -y clean all
32
+ RUN ls -lR /etc/pki
33
+
34
+ RUN subscription-manager repos --enable=rhocp-4_DOT_17-for-rhel-9-x86_64-rpms
35
+
36
+ RUN ${DNF_CMD} -y install crictl && \
37
+ ${DNF_CMD} -y clean all
41
38
42
39
LABEL name="bpfman/bpfman-agent" \
43
40
com.redhat.component="bpfman-agent" \
You can’t perform that action at this time.
0 commit comments