Дроп конфига
All checks were successful
Build and Push Docker Images / build (src/LiquidCode.Tester.Gateway/Dockerfile, git.nullptr.top/liquidcode/liquidcode-tester-gateway-roman, gateway) (push) Successful in 33s
Build and Push Docker Images / build (src/LiquidCode.Tester.Worker/Dockerfile, git.nullptr.top/liquidcode/liquidcode-tester-worker-roman, worker) (push) Successful in 57s

This commit is contained in:
2025-11-05 21:41:38 +03:00
parent ca4b6925ac
commit 619b93b042

View File

@@ -87,9 +87,9 @@ RUN useradd -m -u 1001 -s /bin/bash workeruser && \
chmod 755 /var/local/lib/isolate && \
chown -R workeruser:workeruser /var/local/lib/isolate
# Configure isolate
RUN printf "box_root=/var/local/lib/isolate\ncg_root=/sys/fs/cgroup\ncg=1\n" > /usr/local/etc/isolate.conf && \
ln -sf /usr/local/etc/isolate.conf /usr/local/etc/isolate
# Configure isolate directories (defaults in isolate binary already match these paths)
# The binary falls back to /var/local/lib/isolate for boxes and /sys/fs/cgroup for cgroups,
# so no explicit config file is required here.
# Copy published app
COPY --from=publish /app/publish .