-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
FROM kiwitcms/kiwi | ||
|
||
USER 0 | ||
RUN microdnf -y --nodocs install gcc krb5-devel python3-devel psmisc && \ | ||
RUN microdnf -y --nodocs install gcc krb5-devel python3.11-devel psmisc && \ | ||
microdnf clean all && mkdir /coverage && chown 1001:0 /coverage | ||
USER 1001 | ||
|
||
RUN pip install --no-cache-dir social-auth-app-django gssapi coverage | ||
RUN pip3 install --no-cache-dir social-auth-app-django gssapi coverage | ||
|
||
COPY /.coveragerc /Kiwi/.coveragerc | ||
COPY ./kiwitcms_kerberos/ /venv/lib64/python3.9/site-packages/kiwitcms_kerberos/ | ||
COPY ./kiwitcms_kerberos/kerberos_settings.py /venv/lib64/python3.9/site-packages/tcms_settings_dir/ | ||
COPY ./kiwitcms_kerberos/ /venv/lib64/python3.11/site-packages/kiwitcms_kerberos/ | ||
COPY ./kiwitcms_kerberos/kerberos_settings.py /venv/lib64/python3.11/site-packages/tcms_settings_dir/ | ||
|
||
# prepare DB during build b/c after turning on coverage this will be slow | ||
RUN /Kiwi/manage.py migrate && \ | ||
/Kiwi/manage.py createsuperuser --noinput --username super-root --email root@example.com | ||
|
||
COPY ./sitecustomize.py /venv/lib/python3.9/site-packages/sitecustomize.py | ||
COPY ./sitecustomize.py /venv/lib/python3.11/site-packages/sitecustomize.py |