Rename tools container and add Makefile

This commit is contained in:
Khue Doan 2021-03-11 01:43:34 +07:00
parent 1b8b6ba157
commit 429808949f
5 changed files with 15 additions and 2 deletions

View File

@ -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
View File

@ -0,0 +1,9 @@
.POSIX:
default: build run
build:
docker-compose build
run:
docker-compose run --rm tools zsh

View File

@ -2,7 +2,7 @@ version: '3'
services:
tools:
build: ./tools
build: .
volumes:
- ..:/root/src
- /var/run/docker.sock:/var/run/docker.sock