File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM mcr.microsoft.com/devcontainers/go:0-1.19-bullseye
2+
3+ ARG TARGETOS
4+ ARG TARGETARCH
5+
6+ RUN curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/download/devspace-linux-${TARGETARCH}" && install -c -m 0755 devspace /usr/local/bin
7+ RUN curl -L -o vcluster "https://github.com/loft-sh/vcluster/releases/latest/download/vcluster-linux-${TARGETARCH}" && install -c -m 0755 vcluster /usr/local/bin
8+ RUN curl -L -o kind "https://kind.sigs.k8s.io/dl/v0.17.0/kind-linux-${TARGETARCH}" && install -c -m 0755 kind /usr/local/bin
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " Go" ,
3+ "build" : {
4+ "dockerfile" : " Dockerfile"
5+ },
6+
7+ "features" : {
8+ "ghcr.io/devcontainers/features/docker-in-docker:2" : {
9+ "version" : " latest"
10+ },
11+ "ghcr.io/devcontainers/features/kubectl-helm-minikube:1" : {}
12+ },
13+
14+ "postCreateCommand" : " kind create cluster || true" ,
15+
16+ "mounts" : [
17+ {
18+ "type" : " volume" ,
19+ "source" : " vcluster" ,
20+ "target" : " /home/vscode"
21+ }
22+ ],
23+
24+ "customizations" : {
25+ "devpod" : {
26+ "prebuildRepository" : " fdog239/prebuilds"
27+ }
28+ }
29+ }
You can’t perform that action at this time.
0 commit comments