소스 검색

add sudo and move to ubi8:latest

Vadim Surkov 2 년 전
부모
커밋
95f0a8b9de
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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