Local testing via Makefile & Docker (#19981)

This commit is contained in:
Costas Basdekis
2020-11-18 02:04:28 +00:00
committed by GitHub
parent 26ac992242
commit 1cceae89cd
59 changed files with 418 additions and 226 deletions

19
docker-compose.yml Normal file
View File

@@ -0,0 +1,19 @@
version: "3.8"
services:
# The main image: this doesn't run any particular command, but is mainly used
# for running tests locally
marlin:
image: marlin-dev
build:
dockerfile: Dockerfile
context: docker
working_dir: /code
volumes:
- .:/code
- platformio-cache:/root/.platformio
volumes:
# This volume holds installed libraries for PlatformIO. If this is deleted you
# will have to download all the dependencies again, which can be a very slow
# process
platformio-cache: