Browse Source

add epel and sshpass to ubi8 image

Vadim Surkov 3 years ago
parent
commit
0269604974
1 changed files with 2 additions and 1 deletions
  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