Skip to content

Commit

Permalink
Merge pull request #9 from datastx/bm/polish-dev-container-setup
Browse files Browse the repository at this point in the history
bm/polish-dev-container-setup
  • Loading branch information
datastx authored Sep 29, 2024
2 parents 402d11d + bec9c6f commit 9872443
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile.devcontainer
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM --platform=arm64 mcr.microsoft.com/devcontainers/base:bullseye
10 changes: 6 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/kubernetes-helm-minikube
{
"name": "Kubernetes - Minikube-in-Docker",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"build": {
"dockerfile": "Dockerfile.devcontainer", // Specify your custom Dockerfile here
"context": "."
},
"customizations": {
"vscode": {
"extensions": [
Expand All @@ -23,8 +25,8 @@
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"enableNonRootDocker": "true",
"moby": "true",
"cpus": "4",
"memory": "6g"
"cpus": "6",
"memory": "10g"
},
},
"postCreateCommand": "git config --global --add safe.directory /workspaces/DuckDB-k8s"
Expand Down
4 changes: 2 additions & 2 deletions scripts/makefiles/minikube.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ mk-start: mk-install mk-config
minikube start

mk-config:
minikube config set memory 6000
minikube config set cpus 4
minikube config set memory 10000
minikube config set cpus 6
minikube delete

mk-stop:
Expand Down

0 comments on commit 9872443

Please sign in to comment.