-
Notifications
You must be signed in to change notification settings - Fork 0
/
dock.yaml
26 lines (21 loc) · 657 Bytes
/
dock.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2022 Sean Kelleher. All rights reserved.
# Use of this source code is governed by an MIT
# licence that can be found in the LICENCE file.
schema_version: '0.1'
organisation: ezanmoto
project: dock
default_shell_env: cross
environments:
cross:
workdir: /app
cache_volumes:
cargo: /cargo
env:
CARGO_HOME: /cargo
# We run the `cross` build environment as `root` instead of mounting the
# local user because version 0.2.1 of `cross` requires the active user to
# have a username; see <https://github.com/rust-embedded/cross/pull/505> for
# more details.
mount_local:
- project_dir
- docker