File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 3
3
# SPDX-License-Identifier: Apache2.0
4
4
#
5
5
6
- FROM registry.access.redhat.com/ubi8/python-39 @sha256:82f2d23d9f93332c47bc4be0a05e9d0bbc07deed48e72bc14639fbfee8c5f237
6
+ FROM registry.access.redhat.com/ubi8/ubi-minimal @sha256:6910799b75ad41f00891978575a0d955be2f800c51b955af73926e7ab59a41c3
7
7
8
8
USER 0
9
9
10
- RUN yum -y upgrade
10
+ RUN INSTALL_PKGS="python39 python39-devel python39-pip openssl tar gzip" && \
11
+ microdnf --nodocs -y upgrade && \
12
+ microdnf -y --setopt=tsflags=nodocs --setopt=install_weak_deps=0 install $INSTALL_PKGS && \
13
+ rpm -V $INSTALL_PKGS && \
14
+ microdnf -y clean all --enablerepo='*'
11
15
12
16
COPY requirements.txt /nca/
13
17
RUN python -m pip install -U pip wheel setuptools && pip install -r /nca/requirements.txt
You can’t perform that action at this time.
0 commit comments