outrun/.devcontainer/docker-compose.yml

29 lines
629 B
YAML

version: "3.2"
volumes:
apt-cache: {}
history: {}
asdf: {}
target: {}
services:
dev:
environment:
GIT_COMMITER_EMAIL:
GIT_AUTHOR_EMAIL:
build:
context: ../
dockerfile: .devcontainer/Dockerfile
labels:
- "org.opencontainers.image.source=https://gitlab.com/jimsy/outrun"
volumes:
- ..:/workspace:cached
- "apt-cache:/var/cache/apt:rw"
- "history:/var/tmp/history:rw"
- "asdf:/users/vscode/.asdf:rw"
- "target:/users/vscode/target:rw"
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
command: sleep infinity