aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..a85e0f8
--- /dev/null
+++ b/docker-compose.yml
@@ -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: