Browse Source

add sudo and move to ubi8:latest

Vadim Surkov 2 years ago
parent
commit
95f0a8b9de
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Dockerfile.ubi8

+ 2 - 2
Dockerfile.ubi8

@@ -1,11 +1,11 @@
 # syntax=docker/dockerfile:1.2
 
-FROM registry.access.redhat.com/ubi8/ubi:8.4
+FROM registry.access.redhat.com/ubi8/ubi:latest
 LABEL maintainer="surkov.v@sdsys.ru"
 
 RUN --mount=type=bind,source=./files,target=/tmp/files \
     dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
-    dnf install -y python38 openssh-clients git openssl sshpass && \
+    dnf install -y python38 openssh-clients git openssl sshpass sudo && \
     pip3 install -r /tmp/files/requirements.txt && \
     adduser ansible