fasjson: try another workaround for missing python-requests-gssapi

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-04-18 08:54:21 -07:00
parent e6f6e0a33b
commit d9412939c2

View file

@ -18,7 +18,6 @@ RUN dnf install -y \
mod_session \
policycoreutils-python-utils \
python3-mod_wsgi \
python3-requests-gssapi \
python3-pip && \
dnf autoremove -y && \
dnf clean all -y
@ -26,6 +25,7 @@ RUN python3 -m venv /opt/venv
RUN /opt/venv/bin/pip install poetry
RUN git clone https://github.com/fedora-infra/fasjson.git && \
pushd fasjson && \
sed -i '/requests-kerberos = "^0.14.0"/a requests-gssapi = "^1.2.3"' pyproject.toml \
git checkout {{ (env == 'production')|ternary('stable', 'staging') }} && \
/opt/venv/bin/poetry config virtualenvs.create false && \
/opt/venv/bin/poetry install --no-dev && \