Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c066aa49be | |||
| 204a673b3d | |||
| 04ed52bc8d | |||
| c670dd124f | |||
| 219af987ae | |||
| c70352dc41 | |||
| f689b27b78 | |||
| a978b505d0 |
@@ -47,8 +47,6 @@ jobs:
|
|||||||
type=ref,event=pr
|
type=ref,event=pr
|
||||||
type=sha,prefix=sha-
|
type=sha,prefix=sha-
|
||||||
type=raw,value=latest,enable={{is_default_branch}}
|
type=raw,value=latest,enable={{is_default_branch}}
|
||||||
# Development tags for serverless features
|
|
||||||
type=raw,value=2.0.0-dev,enable=${{ github.ref == 'refs/heads/feature/serverless-2.0.0' }}
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
|||||||
+3
-8
@@ -61,20 +61,15 @@ RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
|
|||||||
apt-get install -y nodejs && \
|
apt-get install -y nodejs && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install Happy Coder globally via npm
|
# Install Happy Coder globally via npm (stable, rarely changes)
|
||||||
RUN npm install -g happy-coder
|
RUN npm install -g happy-coder
|
||||||
|
|
||||||
# Cache-bust: tools below fetch "latest" at build time — a changing ARG
|
# Cache-bust: tools below fetch "latest" at build time — a changing ARG
|
||||||
# forces Docker to re-run these layers instead of serving stale cache.
|
# forces Docker to re-run these layers instead of serving stale cache.
|
||||||
ARG TOOLS_CACHEBUST=0
|
ARG TOOLS_CACHEBUST=0
|
||||||
|
|
||||||
# Install Claude Code via native installer (no Node.js dependency)
|
# Install Claude Code globally via npm
|
||||||
RUN CLAUDE_VERSION=$(curl -fsSL https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest) && \
|
RUN npm install -g @anthropic-ai/claude-code
|
||||||
echo "Installing Claude Code ${CLAUDE_VERSION}" && \
|
|
||||||
curl -fsSL "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/${CLAUDE_VERSION}/linux-x64/claude" \
|
|
||||||
-o /usr/local/bin/claude && \
|
|
||||||
chmod +x /usr/local/bin/claude && \
|
|
||||||
claude --version
|
|
||||||
|
|
||||||
# Install OpenCode AI coding agent
|
# Install OpenCode AI coding agent
|
||||||
RUN OPENCODE_VERSION=$(curl -sL https://api.github.com/repos/opencode-ai/opencode/releases/latest | jq -r '.tag_name') && \
|
RUN OPENCODE_VERSION=$(curl -sL https://api.github.com/repos/opencode-ai/opencode/releases/latest | jq -r '.tag_name') && \
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: devcontainer
|
name: devcontainer
|
||||||
description: Dev Container with AI coding agents and MCP sidecars - supports persistent and dynamic deployment modes
|
description: Dev Container with AI coding agents and MCP sidecars - supports persistent and dynamic deployment modes
|
||||||
type: application
|
type: application
|
||||||
version: 2.0.3
|
version: 2.0.4
|
||||||
appVersion: "latest"
|
appVersion: "latest"
|
||||||
keywords:
|
keywords:
|
||||||
- development
|
- development
|
||||||
|
|||||||
@@ -88,8 +88,10 @@ spec:
|
|||||||
value: {{ .Values.happy.serverUrl | quote }}
|
value: {{ .Values.happy.serverUrl | quote }}
|
||||||
- name: HAPPY_WEBAPP_URL
|
- name: HAPPY_WEBAPP_URL
|
||||||
value: {{ .Values.happy.webappUrl | quote }}
|
value: {{ .Values.happy.webappUrl | quote }}
|
||||||
|
{{- if .Values.githubRepo }}
|
||||||
- name: GITHUB_REPO
|
- name: GITHUB_REPO
|
||||||
value: {{ .Values.githubRepo | quote }}
|
value: {{ .Values.githubRepo | quote }}
|
||||||
|
{{- end }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ include "devcontainer.envSecretName" . }}
|
name: {{ include "devcontainer.envSecretName" . }}
|
||||||
|
|||||||
+2
-2
@@ -13,7 +13,7 @@ deploymentMode: persistent # persistent | dynamic
|
|||||||
# Container image configuration
|
# Container image configuration
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/cpfarhood/devcontainer
|
repository: ghcr.io/cpfarhood/devcontainer
|
||||||
tag: 2.0.0-dev
|
tag: latest
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
# GitHub repository to clone into /workspace (ignored in dynamic mode - uses URL routing)
|
# GitHub repository to clone into /workspace (ignored in dynamic mode - uses URL routing)
|
||||||
@@ -217,7 +217,7 @@ dynamic:
|
|||||||
replicas: 2 # High availability
|
replicas: 2 # High availability
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/cpfarhood/devcontainer-routing-proxy
|
repository: ghcr.io/cpfarhood/devcontainer-routing-proxy
|
||||||
tag: 2.0.0-dev
|
tag: latest
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
Reference in New Issue
Block a user