55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
services:
|
|
toolchain:
|
|
image: csel/toolchain
|
|
build:
|
|
context: toolchain
|
|
dockerfile: Dockerfile
|
|
privileged: true
|
|
volumes:
|
|
- ..:/workspace:cached
|
|
- buildroot:/buildroot
|
|
- rootfs:/rootfs
|
|
- home:/root-home
|
|
|
|
# Overrides default command so things don't shut down after the process ends.
|
|
command: /bin/sh -c "while sleep 1000; do :; done"
|
|
|
|
samba:
|
|
image: dperson/samba
|
|
environment:
|
|
USERID: 0
|
|
GROUPID: 0
|
|
command: >-
|
|
-S
|
|
-u "root;toor"
|
|
-s "buildroot;/buildroot;no;no"
|
|
-s "rootfs;/rootfs;no;no"
|
|
-s "workspace;/workspace;no;no"
|
|
-s "home;/root-home;no;no"
|
|
-g "unix extensions = yes"
|
|
-g "vfs objects = catia fruit"
|
|
ports:
|
|
- "139:139"
|
|
- "1445:445"
|
|
volumes:
|
|
- ..:/workspace
|
|
- buildroot:/buildroot
|
|
- rootfs:/rootfs
|
|
- home:/root-home
|
|
|
|
tftp:
|
|
image: csel/tftp
|
|
build:
|
|
context: tftp
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "69:69/udp"
|
|
# - "10000-10010:10000-10010/udp"
|
|
volumes:
|
|
- buildroot:/buildroot
|
|
command: "dnsmasq --no-daemon --enable-tftp --tftp-root=/buildroot --tftp-no-blocksize --tftp-single-port --log-facility=- --log-dhcp"
|
|
|
|
volumes:
|
|
buildroot: {}
|
|
rootfs: {}
|
|
home: {} |