fix: Correction des Dockerfiles et du script build_modules.sh pour l'architecture modulaire
Some checks failed
CI - 4NK_node / Code Quality (push) Failing after 29s
CI - 4NK_node / Unit Tests (push) Failing after 29s
CI - 4NK_node / Integration Tests (push) Failing after 10s
CI - 4NK_node / Security Tests (push) Failing after 27s
CI - 4NK_node / Docker Build & Test (push) Failing after 10s
CI - 4NK_node / Documentation Tests (push) Failing after 3s
CI - 4NK_node / Security Audit (push) Successful in 3s
CI - 4NK_node / Release Guard (push) Has been skipped
CI - 4NK_node / Performance Tests (push) Successful in 27s
CI - 4NK_node / Notify (push) Failing after 1s
CI - 4NK_node / Publish Release (push) Has been skipped

This commit is contained in:
Debian 2025-09-01 13:41:29 +00:00
parent 70523badcf
commit d0a8758bb7
3 changed files with 9 additions and 2 deletions

View File

@ -17,7 +17,7 @@ build_module() {
echo "🔨 Construction de $module..." echo "🔨 Construction de $module..."
if [ -f "$dockerfile" ]; then if [ -f "$dockerfile" ]; then
cd modules/$module && docker build -t "$REGISTRY-$module:$TAG" . && cd ../../ docker build -t "$REGISTRY-$module:$TAG" -f "$dockerfile" .
echo "$module construit avec succès" echo "$module construit avec succès"
else else
echo "❌ Dockerfile non trouvé pour $module: $dockerfile" echo "❌ Dockerfile non trouvé pour $module: $dockerfile"

3
conf/tor.conf Normal file
View File

@ -0,0 +1,3 @@
DataDirectory /var/lib/tor
SocksPort 9050
ControlPort 9051

View File

@ -1 +1,5 @@
FROM dperson/tor:latest FROM alpine:latest
RUN apk add --no-cache tor curl
COPY conf/tor.conf /etc/tor/torrc
EXPOSE 9050 9051
CMD ["tor"]