refactor: remove legacy build probe and database URL normalization scripts; update Dockerfile and docker-compose for cleaner setup

This commit is contained in:
gabdevele
2026-06-18 18:05:41 +02:00 Unverified
parent b6c315d005
commit f90afcbf52
10 changed files with 1 additions and 266 deletions
-6
View File
@@ -4,9 +4,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PYTHONPATH=/app
ARG BUILD_ID=dev
ARG BUILD_TIME_UTC=unknown
RUN apt-get update \
&& apt-get install -y --no-install-recommends build-essential git \
&& rm -rf /var/lib/apt/lists/*
@@ -26,9 +23,6 @@ COPY federation_authority /app/federation_authority
COPY provider /app/provider
COPY relying_party /app/relying_party
RUN sh -lc 'find /app/federation_authority /app/provider /app/relying_party /app/scripts -type f | sort | xargs sha256sum | sha256sum | awk "{print \$1}" > /app/__buildfingerprint__'
RUN printf '{\"build_id\":\"%s\",\"built_at_utc\":\"%s\",\"image_marker\":\"cie-auth-image\"}\n' \"$BUILD_ID\" \"$BUILD_TIME_UTC\" > /app/__buildinfo__.json
COPY entrypoint.sh /entrypoint.sh
COPY scripts /app/scripts
RUN chmod +x /entrypoint.sh