소스 검색

add epel and sshpass to ubi8 image

Vadim Surkov 3 년 전
부모
커밋
0269604974
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Dockerfile.ubi8

+ 2 - 1
Dockerfile.ubi8

@@ -3,7 +3,8 @@
 FROM registry.access.redhat.com/ubi8/ubi:8.4
 LABEL maintainer="surkov.v@sdsys.ru"
 
-RUN dnf install -y python38 openssh-clients git openssl && \
+RUN dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
+    dnf install -y python38 openssh-clients git openssl sshpass && \
     pip3 install ansible netaddr && \
     adduser ansible