Codebasis als Dateien ins Arbeitsrepo statt als Gitlink

QuellCode/CentronERP war nur als Gitlink (Submodul-Referenz auf 79c1142)
getrackt, ohne .gitmodules und ohne erreichbares Remote. Der
Untersuchungsgegenstand der Versuchsreihe war damit nicht reproduzierbar
gesichert: Ein Klon haette ein leeres Verzeichnis erhalten, und die Belege
der 3.287 Anforderungen waeren nicht ueberpruefbar gewesen.

Umstellung:
- Historie nach c:\DEV\CentronERP_git_snapshot_79c1142 ausgelagert
  (vollstaendig lesbar, enthaelt 79c1142 und Vorgaenger 89ccfd6)
- Gitlink aus dem Index entfernt
- Dateiinhalt aufgenommen: 24.557 Dateien, rund 333 MB

Die verschachtelte .gitignore der Codebasis gilt weiter, Build-Artefakte
bleiben ausgeschlossen. Details in Versuche/Versuch_01/_Codebasis-Nachweis.md
This commit is contained in:
Christoph Schwörer
2026-08-26 07:43:51 +02:00
parent 18edae75b6
commit f045b99a25
24664 changed files with 5846716 additions and 1 deletions
+32
View File
@@ -0,0 +1,32 @@
FROM mcr.microsoft.com/dotnet/sdk:10.0.201-alpine3.23 AS base
RUN mkdir build
WORKDIR /build
COPY ./ ./
ARG dx_license
RUN mkdir -p $HOME/.config/DevExpress && \
echo "$dx_license" > $HOME/.config/DevExpress/DevExpress_License.txt
RUN dotnet publish "./src/nexus/CentronNexus.Host/CentronNexus.Host.csproj" -c release --self-contained true -o ./app
FROM mcr.microsoft.com/dotnet/runtime:10.0.5-alpine3.23
RUN apk update && apk upgrade
RUN apk add --no-cache icu-data-full icu-libs
RUN apk add --no-cache tzdata
ENV TZ=Europe/Berlin
RUN apk add --no-cache fontconfig
RUN apk add ttf-dejavu && \
apk add msttcorefonts-installer && \
apk add ttf-dejavu && \
update-ms-fonts && \
fc-cache -f
RUN ln -s /usr/lib/libfontconfig.so.1 /usr/lib/libfontconfig.so && \
ln -s /lib/libuuid.so.1 /usr/lib/libuuid.so.1 && \
ln -s /lib/libc.musl-x86_64.so.1 /usr/lib/libc.musl-x86_64.so.1
ENV DOTNET_RUNNING_IN_CONTAINER=true
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
COPY --from=base /build/app /app
WORKDIR app