Skip to content

Commit 20123be

Browse files
committed
devcontainer: fix resources for Codespaces (4 CPU/8GB for DinD+Kind)
1 parent a6990d3 commit 20123be

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ RUN ARCH="$(dpkg --print-architecture)" \
4141
&& rm /tmp/kubewall.tar.gz
4242

4343
# Install kubectx + kubens
44-
RUN curl -Lo /usr/local/bin/kubectx https://github.com/ahmetb/kubectx/releases/latest/download/kubectx \
45-
&& curl -Lo /usr/local/bin/kubens https://github.com/ahmetb/kubectx/releases/latest/download/kubens \
44+
RUN curl -fsSLo /usr/local/bin/kubectx https://github.com/ahmetb/kubectx/releases/latest/download/kubectx \
45+
&& curl -fsSLo /usr/local/bin/kubens https://github.com/ahmetb/kubectx/releases/latest/download/kubens \
4646
&& chmod +x /usr/local/bin/kubectx /usr/local/bin/kubens
4747

4848

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
}
3030
},
3131
"hostRequirements": {
32-
"cpus": 2,
33-
"memory": "4gb",
32+
"cpus": 4,
33+
"memory": "8gb",
3434
"storage": "32gb"
3535
},
3636
"remoteUser": "vscode",

0 commit comments

Comments
 (0)