hotfix for telemetry hotfix for profiles config
Build and Deploy to K3s / test (push) Successful in 2m6s
Build and Deploy to K3s / lint (push) Successful in 1m33s
Build and Deploy to K3s / build-and-push (push) Successful in 5m35s
Build and Deploy to K3s / deploy (push) Failing after 8s

This commit is contained in:
2025-11-30 03:34:08 -08:00
parent d3f95b8c52
commit e0535a033b
8 changed files with 378 additions and 228 deletions
+5 -4
View File
@@ -4,7 +4,7 @@
# ============================================================================
# Stage 1: Rust Builder
# ============================================================================
FROM rust:1.90-slim-bookworm AS rust-builder
FROM rust:1.91-slim-bookworm AS rust-builder
WORKDIR /build
@@ -110,7 +110,8 @@ COPY --from=node-builder /build/node_modules ./node_modules
# Copy runtime scripts
COPY docker/entrypoint.sh /entrypoint.sh
COPY docker/init-config.sh /init-config.sh
RUN chmod +x /entrypoint.sh /init-config.sh
COPY docker/restricted-shell.sh /usr/local/bin/restricted-shell.sh
RUN chmod +x /entrypoint.sh /init-config.sh /usr/local/bin/restricted-shell.sh
# Expose ports
# 8082 - webterm HTTP server
@@ -124,5 +125,5 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
# Set entrypoint (init-config.sh runs as root, copies configs, then switches to socktop user)
ENTRYPOINT ["/init-config.sh"]
# Default command - pass through init-config.sh to entrypoint.sh to webterm-server
CMD ["/entrypoint.sh", "webterm-server", "--host", "0.0.0.0", "--port", "8082"]
# Default command - use restricted shell that only allows socktop commands
CMD ["/entrypoint.sh", "webterm-server", "--host", "0.0.0.0", "--port", "8082", "--command", "/usr/local/bin/restricted-shell.sh"]