@opencode-cloud/core 3.1.3 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +1 -1
- package/package.json +1 -1
- package/src/docker/Dockerfile +29 -29
package/Cargo.toml
CHANGED
package/package.json
CHANGED
package/src/docker/Dockerfile
CHANGED
|
@@ -350,41 +350,41 @@ RUN --mount=type=cache,target=/var/lib/apt/lists \
|
|
|
350
350
|
USER opencode
|
|
351
351
|
|
|
352
352
|
# -----------------------------------------------------------------------------
|
|
353
|
-
# Cockpit Web Console (2026-01-22)
|
|
353
|
+
# Cockpit Web Console (2026-01-22) - temporarily disabled
|
|
354
354
|
# -----------------------------------------------------------------------------
|
|
355
355
|
# Cockpit provides web-based administration for the container
|
|
356
356
|
# Ubuntu noble has cockpit 316 in main repos
|
|
357
357
|
# Use BuildKit cache mount for APT package lists and cache
|
|
358
|
-
USER root
|
|
359
|
-
RUN --mount=type=cache,target=/var/lib/apt/lists \
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
358
|
+
# USER root
|
|
359
|
+
# RUN --mount=type=cache,target=/var/lib/apt/lists \
|
|
360
|
+
# --mount=type=cache,target=/var/cache/apt \
|
|
361
|
+
# apt-get update && \
|
|
362
|
+
# apt-get install -y --no-install-recommends \
|
|
363
|
+
# cockpit-ws \
|
|
364
|
+
# cockpit-system \
|
|
365
|
+
# cockpit-bridge \
|
|
366
|
+
# && rm -rf /var/lib/apt/lists/*
|
|
367
|
+
#
|
|
368
368
|
# Enable Cockpit socket activation (manual symlink since systemctl doesn't work during build)
|
|
369
|
-
RUN mkdir -p /etc/systemd/system/sockets.target.wants \
|
|
370
|
-
|
|
371
|
-
|
|
369
|
+
# RUN mkdir -p /etc/systemd/system/sockets.target.wants \
|
|
370
|
+
# && ln -sf /lib/systemd/system/cockpit.socket /etc/systemd/system/sockets.target.wants/cockpit.socket
|
|
371
|
+
#
|
|
372
372
|
# Configure Cockpit for HTTP (TLS terminated externally) and proxy headers
|
|
373
|
-
RUN mkdir -p /etc/cockpit && \
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
USER opencode
|
|
373
|
+
# RUN mkdir -p /etc/cockpit && \
|
|
374
|
+
# printf '%s\n' \
|
|
375
|
+
# '[WebService]' \
|
|
376
|
+
# '# Allow HTTP connections (TLS terminated externally like opencode)' \
|
|
377
|
+
# 'AllowUnencrypted = true' \
|
|
378
|
+
# '' \
|
|
379
|
+
# '# Trust proxy headers for X-Forwarded-For, X-Forwarded-Proto' \
|
|
380
|
+
# 'ProtocolHeader = X-Forwarded-Proto' \
|
|
381
|
+
# 'ForwardedForHeader = X-Forwarded-For' \
|
|
382
|
+
# '' \
|
|
383
|
+
# '# Limit concurrent login attempts' \
|
|
384
|
+
# 'MaxStartups = 10' \
|
|
385
|
+
# > /etc/cockpit/cockpit.conf
|
|
386
|
+
#
|
|
387
|
+
# USER opencode
|
|
388
388
|
|
|
389
389
|
# -----------------------------------------------------------------------------
|
|
390
390
|
# CI/CD + tooling (disabled)
|