updated playground
This commit is contained in:
parent
d8c2018ff8
commit
7e4b4f31c1
@ -1,11 +1,17 @@
|
||||
name: dev-playground
|
||||
|
||||
services:
|
||||
dev:
|
||||
image: mcr.microsoft.com/devcontainers/go:1-1.22-bookworm
|
||||
volumes:
|
||||
- "..:/workspace"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
# deploy:
|
||||
# resources:
|
||||
# limits:
|
||||
# cpus: '0.5'
|
||||
command: sleep infinity
|
||||
|
||||
redis:
|
||||
image: redis:7.2-alpine
|
||||
|
||||
|
||||
|
||||
@ -7,11 +7,11 @@
|
||||
"service": "dev",
|
||||
"workspaceFolder": "/workspace",
|
||||
// "image": "mcr.microsoft.com/devcontainers/go:1-1.22-bookworm",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/go:1": {},
|
||||
"ghcr.io/guiyomh/features/golangci-lint:0": {},
|
||||
"ghcr.io/brokeyourbike/devcontainer-features/staticcheck:0": {}
|
||||
}
|
||||
// "features": {
|
||||
// "ghcr.io/devcontainers/features/go:1": {},
|
||||
// "ghcr.io/guiyomh/features/golangci-lint:0": {},
|
||||
// "ghcr.io/brokeyourbike/devcontainer-features/staticcheck:0": {}
|
||||
// },
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
@ -26,5 +26,5 @@
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
"remoteUser": "root"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user