Fixed regex for social-auth-core replacement

This commit is contained in:
Tobias Genannt 2024-05-06 09:56:49 +02:00
parent 1a4ef09a16
commit 1e78c386a5

View File

@ -36,7 +36,7 @@ RUN \
# We need 'social-auth-core[all]' in the Docker image. But if we put it in our own requirements-container.txt
# we have potential version conflicts and the build will fail.
# That's why we just replace it in the original requirements.txt.
sed -i -e 's/social-auth-core\[openidconnect\]/social-auth-core\[all\]/g' /requirements.txt && \
sed -i -e 's/social-auth-core/social-auth-core\[all\]/g' /requirements.txt && \
/opt/netbox/venv/bin/pip install \
-r /requirements.txt \
-r /requirements-container.txt