fasjson: try another workaround for missing python-requests-gssapi
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
e6f6e0a33b
commit
d9412939c2
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,6 @@ RUN dnf install -y \
|
||||||
mod_session \
|
mod_session \
|
||||||
policycoreutils-python-utils \
|
policycoreutils-python-utils \
|
||||||
python3-mod_wsgi \
|
python3-mod_wsgi \
|
||||||
python3-requests-gssapi \
|
|
||||||
python3-pip && \
|
python3-pip && \
|
||||||
dnf autoremove -y && \
|
dnf autoremove -y && \
|
||||||
dnf clean all -y
|
dnf clean all -y
|
||||||
|
@ -26,6 +25,7 @@ RUN python3 -m venv /opt/venv
|
||||||
RUN /opt/venv/bin/pip install poetry
|
RUN /opt/venv/bin/pip install poetry
|
||||||
RUN git clone https://github.com/fedora-infra/fasjson.git && \
|
RUN git clone https://github.com/fedora-infra/fasjson.git && \
|
||||||
pushd fasjson && \
|
pushd fasjson && \
|
||||||
|
sed -i '/requests-kerberos = "^0.14.0"/a requests-gssapi = "^1.2.3"' pyproject.toml \
|
||||||
git checkout {{ (env == 'production')|ternary('stable', 'staging') }} && \
|
git checkout {{ (env == 'production')|ternary('stable', 'staging') }} && \
|
||||||
/opt/venv/bin/poetry config virtualenvs.create false && \
|
/opt/venv/bin/poetry config virtualenvs.create false && \
|
||||||
/opt/venv/bin/poetry install --no-dev && \
|
/opt/venv/bin/poetry install --no-dev && \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue