Skip to content

Commit 9821260

Browse files
committed
Update base image
1 parent 9a40cab commit 9821260

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.fedoraproject.org/fedora-minimal:40
1+
FROM quay.io/fedora/python-313:20250101@sha256:dc3b9cf6de0ce9dca8b7eda0b353f7cfa15887e0bfe2015b2100f7d1aa368293
22

33
ARG GITHUB_SHA
44
LABEL \
@@ -27,17 +27,20 @@ ENV \
2727

2828
COPY . /opt/app-root/src/resultsdb_frontend/
2929

30-
RUN microdnf -y install \
30+
RUN dnf -y install \
31+
--setopt install_weak_deps=false \
32+
--nodocs \
33+
--disablerepo=* \
34+
--enablerepo=fedora,updates \
3135
httpd \
3236
mod_ssl \
3337
python3-mod_wsgi \
34-
python3-pip \
3538
rpm-build \
3639
&& pip3 install --upgrade --upgrade-strategy eager \
3740
-r /opt/app-root/src/resultsdb_frontend/requirements.txt \
3841
&& pip3 install --no-deps /opt/app-root/src/resultsdb_frontend \
39-
&& microdnf -y remove python3-pip \
40-
&& microdnf -y clean all \
42+
&& dnf -y remove python3-pip \
43+
&& dnf -y clean all \
4144
&& install -d /usr/share/resultsdb_frontend/conf \
4245
&& install -p -m 0644 \
4346
/opt/app-root/src/resultsdb_frontend/conf/resultsdb_frontend.conf \

0 commit comments

Comments
 (0)