You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
872 B
33 lines
872 B
version: "3.7"
|
|
|
|
services:
|
|
vscode:
|
|
build: .
|
|
image: godevcontainer
|
|
volumes:
|
|
- ../:/workspace
|
|
# Docker
|
|
- ~/.docker:/root/.docker:z
|
|
# Docker socket to access Docker server
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
# SSH directory for Linux, OSX and WSL
|
|
- ~/.ssh:/root/.ssh:z
|
|
# For Windows without WSL, a copy will be made
|
|
# from /tmp/.ssh to ~/.ssh to fix permissions
|
|
# - ~/.ssh:/tmp/.ssh:ro
|
|
# Shell history persistence
|
|
- ~/.zsh_history:/root/.zsh_history:z
|
|
# Git config
|
|
- ~/.gitconfig:/root/.gitconfig:z
|
|
# Kubernetes
|
|
- ~/.kube:/root/.kube:z
|
|
environment:
|
|
- TZ=
|
|
cap_add:
|
|
# For debugging with dlv
|
|
- SYS_PTRACE
|
|
security_opt:
|
|
# For debugging with dlv
|
|
- seccomp:unconfined
|
|
entrypoint: zsh -c "while sleep 1000; do :; done"
|