Merge pull request #25 from parasquid/docker-file

add example docker-compose
This commit is contained in:
sickcodes 2020-06-08 12:19:38 +00:00 committed by GitHub
commit 96f6275fe0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
docker-compose.yml Normal file
View File

@ -0,0 +1,18 @@
version: '3.1'
services:
osx:
build:
context: .
args:
- SIZE=200G
- VERSION=10.15.5
image: sickcodes/docker-osx
privileged: true
environment:
DISPLAY: ${DISPLAY:-:0.0}
network_mode: "host"
cap_add:
- ALL
volumes:
- ./tmp/.X11-unix:/tmp/.X11-unix