chore: add tailscale as devcontainer feat

This commit is contained in:
2025-09-14 11:00:16 +00:00
parent a67a8795d8
commit 1e17351a04
2 changed files with 4 additions and 4 deletions

View File

@@ -8,9 +8,6 @@ RUN apt-get update && apt-get install -y \
lsb-release \ lsb-release \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install Tailscale
RUN curl -fsSL https://tailscale.com/install.sh | sh
# Install Bun as the node user # Install Bun as the node user
USER node USER node
RUN curl -fsSL https://bun.sh/install | bash RUN curl -fsSL https://bun.sh/install | bash
@@ -29,4 +26,4 @@ USER node
WORKDIR /workspace WORKDIR /workspace
# Verify installations # Verify installations
RUN bun --version && tailscale version RUN bun --version

View File

@@ -9,6 +9,9 @@
"ghcr.io/devcontainers/features/github-cli:1": {}, "ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/docker-in-docker:2": { "ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": false "moby": false
},
"ghcr.io/tailscale/codespace/tailscale": {
"version": "latest"
} }
}, },
"postCreateCommand": "bun install", "postCreateCommand": "bun install",