diff --git a/extensions/sbb-pdf-exporter/DBS Stylesheet.css b/extensions/sbb-pdf-exporter/default.css similarity index 100% rename from extensions/sbb-pdf-exporter/DBS Stylesheet.css rename to extensions/sbb-pdf-exporter/default.css diff --git a/extensions/sbb-pdf-exporter/weasyprint.dockerfile b/extensions/sbb-pdf-exporter/weasyprint.dockerfile deleted file mode 100644 index d8b3a86..0000000 --- a/extensions/sbb-pdf-exporter/weasyprint.dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# SPDX-FileCopyrightText: Copyright DB InfraGO AG and contributors -# SPDX-License-Identifier: Apache-2.0 - -FROM python:3.12.3-slim -LABEL maintainer="Polarion Team at SBB " - -RUN apt-get update && \ - apt-get --yes --no-install-recommends install python3-cffi python3-brotli libpango-1.0-0 libpangoft2-1.0-0 fonts-liberation chromium && \ - apt-get clean autoclean && \ - apt-get --yes autoremove && \ - pip install --no-cache-dir weasyprint==62.3 && \ - rm -rf /var/lib/apt/lists/* - -ENV WORKING_DIR=/opt/weasyprint -ENV CHROME_EXECUTABLE_PATH=/usr/bin/chromium - -WORKDIR ${WORKING_DIR} - -ENTRYPOINT [ "weasyprint" ]