mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 20:24:32 +07:00
Rename tools container and add Makefile
This commit is contained in:
parent
1b8b6ba157
commit
429808949f
6
Makefile
6
Makefile
@ -1,6 +1,10 @@
|
||||
.POSIX:
|
||||
|
||||
all: metal infra apps
|
||||
default: tools
|
||||
|
||||
.PHONY: tools
|
||||
tools:
|
||||
make -C tools
|
||||
|
||||
.PHONY: metal
|
||||
metal:
|
||||
|
9
tools/Makefile
Normal file
9
tools/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
.POSIX:
|
||||
|
||||
default: build run
|
||||
|
||||
build:
|
||||
docker-compose build
|
||||
|
||||
run:
|
||||
docker-compose run --rm tools zsh
|
@ -2,7 +2,7 @@ version: '3'
|
||||
|
||||
services:
|
||||
tools:
|
||||
build: ./tools
|
||||
build: .
|
||||
volumes:
|
||||
- ..:/root/src
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
Loading…
Reference in New Issue
Block a user