Skip to content

Commit 50a3ae7

Browse files
committed
build: install python deps via dnf
1 parent ae8fb95 commit 50a3ae7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
2121

2222
WORKDIR /app
2323

24-
RUN microdnf update -y \
25-
&& microdnf install -y \
24+
USER 0
25+
26+
RUN dnf update -y \
27+
&& dnf install -y \
2628
openssl \
2729
openssl-perl \
2830
fipscheck \
@@ -33,7 +35,7 @@ RUN microdnf update -y \
3335
tar \
3436
gzip \
3537
&& update-crypto-policies --set FIPS \
36-
&& microdnf clean all
38+
&& dnf clean all
3739

3840
RUN useradd --no-log-init --create-home --home-dir /var/lib/nimbus nimbus
3941

0 commit comments

Comments
 (0)