Skip to content

Commit

Permalink
CentOS 7 Repos are gone due EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
ferricoxide committed Jul 8, 2024
1 parent c039961 commit 3dc62bb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/centos7/python-38-centos7:centos7@sha256:ba24cdd62d1c1bdf286a61b36f94d1c6f6294b1f06843af47ab32101e453dbb1
FROM docker.io/library/almalinux:8@sha256:e87da8566de5f0a10e0e6acdb7ca43da4ef97a114130691d7dd737d6923c863d

ARG USER=wam-builder
ARG USER_UID
Expand All @@ -14,14 +14,16 @@ RUN if [[ ${USER_UID} -eq 0 ]] ; then adduser ${USER} ; \
COPY --chown=${USER}:${USER} requirements/pip.txt /requirements/pip.txt
COPY --chown=${USER}:${USER} requirements/basics.txt /requirements/basics.txt

RUN dnf install -y python3.11

RUN python3 -m ensurepip --upgrade --default-pip \
&& python3 -m pip install -r /requirements/pip.txt \
&& python3 -m pip --version \
&& python3 -m pip install -r /requirements/basics.txt \
&& python3 -m pip list

RUN yum -y install epel-release \
&& yum -y install jq
RUN dnf -y install epel-release \
&& dnf -y install jq

USER ${USER}

Expand Down

0 comments on commit 3dc62bb

Please sign in to comment.