-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (32 loc) · 932 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (32 loc) · 932 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
27
28
29
30
31
32
33
# Docker Compose for local smoke testing
# Reproduces CI environment for faster iteration
#
# Usage:
# docker-compose up --build # Run full smoke test
# docker-compose run --rm smoke lint # Run lint stage only
# docker-compose run --rm smoke build # Run build stage only
# docker-compose run --rm smoke-shell # Interactive shell for debugging
#
services:
smoke:
build:
context: .
dockerfile: Dockerfile
container_name: dotfiles-smoke
environment:
- TERM=xterm-256color
- HOMEBREW_NO_AUTO_UPDATE=1
- HOMEBREW_NO_ANALYTICS=1
# Interactive shell for debugging failed tests
smoke-shell:
build:
context: .
dockerfile: Dockerfile
container_name: dotfiles-smoke-shell
environment:
- TERM=xterm-256color
- HOMEBREW_NO_AUTO_UPDATE=1
- HOMEBREW_NO_ANALYTICS=1
stdin_open: true
tty: true
entrypoint: /bin/zsh