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 \
|
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
|
@@ -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",
|
||||||
|
Reference in New Issue
Block a user