diff --git a/Cargo.lock b/Cargo.lock index aa43e53..034c533 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -866,7 +866,7 @@ dependencies = [ [[package]] name = "mirror-package" -version = "1.0.0" +version = "1.0.1" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index f985068..1cfe334 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mirror-package" -version = "1.0.0" +version = "1.0.1" edition = "2024" authors = ['DragonSlayer_14'] readme = "README.md" diff --git a/Dockerfile b/Dockerfile index d50ea7e..16c5fbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 # Minimales und gehärtetes Runtime-Image -FROM debian:bookworm-slim AS runtime +FROM debian:trixie-slim AS runtime # CA-Zertifikate und minimale dynamische Laufzeitbibliotheken installieren RUN apt-get update && \ diff --git a/README.md b/README.md index 9777714..6948abd 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ Der Container wurde nach höchsten Sicherheitsstandards aufgebaut: - **Read-Only Root-Dateisystem**: Voll funktionsfähig mit `--read-only` / `read_only: true`. - **Keine Capabilities**: Sämtliche Linux-Capabilities können sicher entzogen werden (`--cap-drop=ALL`). - **Keine Rechteausweitung**: Erzwingt `no-new-privileges:true`. -- **Minimale Image-Größe**: Basiert auf Debian Bookworm Slim und enthält nur CA-Zertifikate und notwendige dynamische Bibliotheken (~40 MB). +- **Minimale Image-Größe**: Basiert auf Debian Trixie Slim und enthält nur CA-Zertifikate und notwendige dynamische Bibliotheken (~40 MB). ### 4. Ausführung über Docker CLI diff --git a/qodana.yaml b/qodana.yaml new file mode 100644 index 0000000..d5f217e --- /dev/null +++ b/qodana.yaml @@ -0,0 +1,50 @@ +#-------------------------------------------------------------------------------# +# Qodana analysis is configured by qodana.yaml file # +# https://www.jetbrains.com/help/qodana/qodana-yaml.html # +#-------------------------------------------------------------------------------# + +################################################################################# +# WARNING: Do not store sensitive information in this file, # +# as its contents will be included in the Qodana report. # +################################################################################# +version: "1.0" + +#Specify inspection profile for code analysis +profile: + name: qodana.starter + +#Enable inspections +#include: +# - name: + +#Disable inspections +#exclude: +# - name: +# paths: +# - + +#Execute shell command before Qodana execution (Applied in CI/CD pipeline) +#bootstrap: sh ./prepare-qodana.sh + +#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline) +#plugins: +# - id: #(plugin id can be found at https://plugins.jetbrains.com) + +# Quality gate. Will fail the CI/CD pipeline if any condition is not met +# severityThresholds - configures maximum thresholds for different problem severities +# testCoverageThresholds - configures minimum code coverage on a whole project and newly added code +# dependencyLicenses - fails the run on prohibited or unknown dependency licenses +# Code Coverage is available in Ultimate and Ultimate Plus plans +#failureConditions: +# severityThresholds: +# any: 15 +# critical: 5 +# testCoverageThresholds: +# fresh: 70 +# total: 50 +# dependencyLicenses: +# failOnProhibited: true +# failOnUnknown: false + +#Specify Qodana linter for analysis (Applied in CI/CD pipeline) +linter: jetbrains/qodana-:2026.2