-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
26 lines (25 loc) · 806 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
26 lines (25 loc) · 806 Bytes
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
services:
zephyr-sdk:
build:
context: .
dockerfile: Dockerfile
args:
BASE_IMAGE: ${BASE_IMAGE:-docker.1ms.run/library/ubuntu:24.04}
USER_UID: ${UID:-1000}
USER_GID: ${GID:-1000}
ZSDK_VERSION: ${ZSDK_VERSION:-1.0.1}
SDK_TOOLCHAINS: ${SDK_TOOLCHAINS:-all}
HOSTTYPE: ${HOSTTYPE:-x86_64}
image: ${IMAGE_NAME:-zephyr-docker-sdk}:${ZSDK_VERSION:-1.0.1}
container_name: ${CONTAINER_NAME:-zephyr-sdk-dev}
working_dir: /workspace
volumes:
- zephyr-sdk-ccache:/home/zephyr/.ccache
environment:
ZEPHYR_TOOLCHAIN_VARIANT: zephyr
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-${ZSDK_VERSION:-1.0.1}
CCACHE_DIR: /home/zephyr/.ccache
stdin_open: true
tty: true
volumes:
zephyr-sdk-ccache: