Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz Source: /opt/alga-psa on psa.joliet.tech
38 lines
1.5 KiB
Docker
38 lines
1.5 KiB
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM node:22-alpine AS ui-build
|
|
WORKDIR /workspace/ee/appliance/status-ui
|
|
COPY ee/appliance/status-ui/package.json ee/appliance/status-ui/package-lock.json ./
|
|
RUN npm ci
|
|
COPY ee/appliance/status-ui/app ./app
|
|
COPY ee/appliance/status-ui/next.config.mjs ee/appliance/status-ui/tsconfig.json ./
|
|
RUN npm run build
|
|
|
|
FROM node:22-alpine AS runtime
|
|
WORKDIR /opt/alga-appliance
|
|
RUN apk add --no-cache bash curl kubectl \
|
|
&& curl -s https://fluxcd.io/install.sh | bash
|
|
ENV NODE_ENV=production
|
|
ENV ALGA_APPLIANCE_PORT=8080
|
|
ENV ALGA_APPLIANCE_STATUS_UI_DIR=/opt/alga-appliance/status-ui/dist
|
|
ENV ALGA_APPLIANCE_MODE=kubernetes-control-plane
|
|
ENV ALGA_APPLIANCE_BUNDLE_ORIGIN=baked-iso
|
|
|
|
COPY ee/appliance/host-service/*.mjs ./host-service/
|
|
COPY ee/appliance/scripts ./scripts
|
|
COPY ee/appliance/manifests ./manifests
|
|
COPY ee/appliance/flux ./flux
|
|
# Release metadata is intentionally NOT baked in. Setup/update resolve the
|
|
# selected channel from the OCI artifact registry (see host-service/setup-engine.mjs),
|
|
# so image-tag changes do not require rebuilding this image or the ISO.
|
|
COPY --from=ui-build /workspace/ee/appliance/status-ui/dist ./status-ui/dist
|
|
|
|
RUN addgroup -S alga && adduser -S -G alga -u 10001 alga \
|
|
&& mkdir -p /var/lib/alga-appliance \
|
|
&& chmod +x /opt/alga-appliance/scripts/control-plane-entrypoint.sh \
|
|
&& chown -R alga:alga /opt/alga-appliance /var/lib/alga-appliance
|
|
|
|
USER 10001:10001
|
|
EXPOSE 8080
|
|
CMD ["/opt/alga-appliance/scripts/control-plane-entrypoint.sh"]
|