Skip to content

Commit

Permalink
fix some pacakges
Browse files Browse the repository at this point in the history
  • Loading branch information
huangjien committed Jun 7, 2024
1 parent 3113e6b commit 80a59d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion molecule/_resources/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FROM --platform=linux/amd64 {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install -y python3.11.x86_64 python3.11-pip sudo python3.11-devel python3.11-dnf bash findutils which unzip zip procps python3.11-libselinux && ln -sf /usr/bin/python3.11 /etc/alternatives/python3 && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install -y python3.11.x86_64 python3.11-pip sudo python3.11-devel python3-dnf bash findutils which unzip zip procps python3-libselinux && ln -sf /usr/bin/python3.11 /etc/alternatives/python3 && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python3.11.x86_64 sudo yum-plugin-ovl bash findutils which unzip zip procps && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
Expand Down

0 comments on commit 80a59d4

Please sign in to comment.