Files
openairinterface5g/tools/docker-dev-env/docker-compose.yml
T
Bartosz Podrygajlo 8ca0a80d17 Dockerized development environment
This commit introduces a fully dockerized dev env you can start on any
machine that has docker without installing any direct OAI dependencies
on host.

This allows to migrate development environments between machines easily. Several
complementary scripts were added to enable smooth transition between your docker
environment and host environment. Your user and sudo should work inside the
environment.
2025-01-31 07:50:01 +01:00

22 lines
473 B
YAML

services:
openair-dev-env:
container_name: "openair-dev-${USER}"
image: openair-dev:${USER}
command: "sleep infinity"
privileged: false
cap_add:
- NET_ADMIN
- SYS_ADMIN
- NET_RAW
- SYS_NICE
# CAPS for sudo to work
- CAP_SETUID
- CAP_SETGID
- CAP_SETFCAP
- CAP_AUDIT_WRITE
- CAP_MKNOD
volumes:
- /home/${USER}:/home/${USER}
working_dir: /home/${USER}
hostname: oai-dev-env