chore: add tailscale as devcontainer feat
This commit is contained in:
@@ -8,9 +8,6 @@ RUN apt-get update && apt-get install -y \
|
||||
lsb-release \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Tailscale
|
||||
RUN curl -fsSL https://tailscale.com/install.sh | sh
|
||||
|
||||
# Install Bun as the node user
|
||||
USER node
|
||||
RUN curl -fsSL https://bun.sh/install | bash
|
||||
@@ -29,4 +26,4 @@ USER node
|
||||
WORKDIR /workspace
|
||||
|
||||
# Verify installations
|
||||
RUN bun --version && tailscale version
|
||||
RUN bun --version
|
@@ -9,6 +9,9 @@
|
||||
"ghcr.io/devcontainers/features/github-cli:1": {},
|
||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
||||
"moby": false
|
||||
},
|
||||
"ghcr.io/tailscale/codespace/tailscale": {
|
||||
"version": "latest"
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "bun install",
|
||||
|
Reference in New Issue
Block a user