Skip to content

Commit 8a81195

Browse files
authored
Adding compiled podman to the debug partner image. (#252)
* Adding compiled podman to the debug partner image. This podman version v4.4.0 is needed as a workaround for the test case platform-alteration-base-image (aka podman diff) of https://github.com/test-network-function/cnf-certification-test * Fix hadolint errors. * Changed some leading spaces to tabs.
1 parent b7854f8 commit 8a81195

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

test-partner/Dockerfile.debug-partner

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
FROM registry.access.redhat.com/ubi8/ubi:8.7 as podman-builder
2+
RUN \
3+
dnf update --assumeyes --disableplugin=subscription-manager \
4+
&& dnf install --assumeyes --disableplugin=subscription-manager \
5+
git-2.31.1-3.el8_7 \
6+
make-1:4.2.1-11.el8 \
7+
golang-1.18.10-1.module+el8.7.0+18302+aa634922 \
8+
gpgme-devel-1.13.1-11.el8 \
9+
libseccomp-devel-2.5.2-1.el8 \
10+
libassuan-devel-2.5.1-3.el8 \
11+
python36-3.6.8-38.module+el8.5.0+12207+5c5719bc \
12+
&& dnf clean all \
13+
&& git clone https://github.com/containers/podman.git
14+
WORKDIR /podman
15+
RUN \
16+
git checkout v4.4.0 \
17+
&& make
18+
119
FROM registry.access.redhat.com/ubi8/ubi:8.7
220
RUN \
321
dnf update --assumeyes --disableplugin=subscription-manager \
@@ -14,5 +32,7 @@ RUN \
1432
procps-ng-3.3.15 \
1533
util-linux \
1634
&& dnf clean all --assumeyes --disableplugin=subscription-manager \
17-
&& rm -fr /var/cache/yum
35+
&& rm -fr /var/cache/yum \
36+
&& mkdir /root/podman
37+
COPY --from=podman-builder /podman/bin/podman /root/podman/
1838
VOLUME ["/host"]

0 commit comments

Comments
 (0)