diff --git a/Dockerfile b/Dockerfile index 6566088..966469a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,15 @@ -FROM registry.access.redhat.com/ubi9:9.3-1361.1699548029@sha256:6b95efc134c2af3d45472c0a2f88e6085433df058cc210abb2bb061ac4d74359 +FROM registry.access.redhat.com/ubi9/python-311:1-38 -COPY requirements.txt .tool-versions /root/ +USER root +WORKDIR /root + +COPY requirements.txt .tool-versions ./ # renovate: datasource=github-releases depName=asdf-vm/asdf ENV ASDF_VERSION=v0.12.0 RUN dnf install -y \ - git openssh-clients python3-pip make unzip rubygems openssl-devel perl zlib-devel bzip2 python3.11 && \ + git openssh-clients make unzip rubygems openssl-devel perl zlib-devel bzip2 && \ dnf clean all -y && \ git clone https://github.com/asdf-vm/asdf.git /root/.asdf --branch "${ASDF_VERSION}" --depth 1 && \ . /root/.asdf/asdf.sh && \ diff --git a/requirements.txt b/requirements.txt index 9925d86..e6a0762 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ ansible==9.0.1 boto3==1.33.4 -pip==23.3.1