aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: a85e0f83150759d72285cca97975d71f41eaf7ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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: