Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (22 sloc) 1.29 KB
FROM kiwitcms/kiwi
RUN dnf -y --setopt=tsflags=nodocs install \
gcc krb5-devel python3-devel && \
yum clean all
USER 1001
# Install any additional Python dependencies
COPY ./requirements.txt /Kiwi/
RUN pip install --no-cache-dir -r /Kiwi/requirements.txt
COPY ./ /venv/lib64/python3.6/site-packages/tcms/settings/
COPY ./tcms_enterprise/ /venv/lib64/python3.6/site-packages/tcms_enterprise/
COPY ./templates.d/ /venv/lib64/python3.6/site-packages/tcms/ee_templates/
COPY ./static.d/ /venv/lib64/python3.6/site-packages/tcms/ee_static/
# woraround broken CSS which will break collectstatic
# because they refer to non-existing ../fonts/glyphicons-halflings-regular.eot (no fonts/ directory)
# remove django_tenants/templates/admin/index.html b/c it is ugly and b/c we use grapelli
RUN rm -rf /venv/lib64/python3.6/site-packages/tcms/node_modules/c3/htdocs/ \
/venv/lib64/python3.6/site-packages/tcms/node_modules/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css \
/venv/lib64/python3.6/site-packages/tcms/node_modules/bootstrap-touchspin/demo/ \
# collect static files again
RUN /Kiwi/ collectstatic --clear --link --noinput
You can’t perform that action at this time.