mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Improve simulation container
This commit is contained in:
@@ -4,4 +4,4 @@ RUN apk update && apk add qemu-system-avr && mkdir /io
|
||||
ADD start.sh /opt/dcc
|
||||
ADD CommandStation-EX-uno-*.elf /io
|
||||
|
||||
CMD ["/bin/sh", "/opt/dcc/start.sh"]
|
||||
ENTRYPOINT ["/opt/dcc/start.sh"]
|
||||
|
@@ -1,6 +1,8 @@
|
||||
# AVR Simulator
|
||||
|
||||
`qemu-system-avr` tries to use all the CPU cicles (leaving a CPU core stuck at 100%. Limit CPU core usage to 10%. I may be adjusted on slower machines.
|
||||
|
||||
```bash
|
||||
$ podman build -t dcc/net-to-serial:sim .
|
||||
$ podman run -d -p2560:2560 dcc/net-to-serial:sim
|
||||
$ podman run --init --cpu 0.1 -d -p 2560:2560 dcc/net-to-serial:sim
|
||||
```
|
||||
|
Reference in New Issue
Block a user