Skip to content

Commit c30168e

Browse files
fix Dockerfile ansible test image (#2104)
1 parent c7f429f commit c30168e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

internal/scaffold/ansible/build_test_framework_dockerfile.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,8 @@ USER 0
4545
# yum clean all && rm -rf /var/yum/cache/* first
4646
RUN yum clean all && rm -rf /var/cache/yum/* \
4747
&& yum -y update \
48-
&& yum install -y python36-devel gcc libffi-devel
49-
50-
# ubi7
51-
RUN if $(cat /etc/redhat-release | grep --quiet 'release 7'); then (yum install -y python36-pip || true); fi
52-
# ubi8
53-
RUN if $(cat /etc/redhat-release | grep --quiet 'release 8'); then (yum install -y python3-pip || true); fi
54-
48+
&& yum install -y python36-devel gcc libffi-devel python3-pip
5549
RUN pip3 install --user molecule==2.22
56-
5750
ARG NAMESPACEDMAN
5851
ADD $NAMESPACEDMAN /namespaced.yaml
5952
ADD build/test-framework/ansible-test.sh /ansible-test.sh

0 commit comments

Comments
 (0)