Skip to content

Commit

Permalink
add CA certs to the container
Browse files Browse the repository at this point in the history
  • Loading branch information
Parthey Khanderia committed Jan 22, 2025
1 parent d43c07e commit 72a3996
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ COPY --from=yq /usr/bin/yq /usr/bin/yq

RUN dnf -y install tox git ruby gcc python-flake8 python-isort black yamllint pytest python-fastjsonschema python-dogpile-cache python-GitPython; dnf clean all

RUN curl -s https://certs.corp.redhat.com/certs/2015-IT-Root-CA.pem \
-o /etc/pki/ca-trust/source/anchors/2015-IT-Root-CA.pem
RUN curl -s https://certs.corp.redhat.com/certs/2022-IT-Root-CA.pem \
-o /etc/pki/ca-trust/source/anchors/2022-IT-Root-CA.pem \
&& update-ca-trust extract

COPY requirements.txt requirements-build.txt ./

RUN pip install -r requirements-build.txt -r requirements.txt
Expand Down

0 comments on commit 72a3996

Please sign in to comment.