mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-17 14:04:24 +02:00
Created autocreate of .dockerignore via Makefile
This commit is contained in:
parent
1a649568ce
commit
7aed3dd8c2
8
.dockerignore
Normal file
8
.dockerignore
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
site.retry
|
||||||
|
*__pycache__
|
||||||
|
venv
|
||||||
|
*.log
|
||||||
|
*.bak
|
||||||
|
*tree.json
|
||||||
|
roles/list.json
|
||||||
|
.git
|
7
Makefile
7
Makefile
@ -29,7 +29,12 @@ tree:
|
|||||||
@echo Generating Tree
|
@echo Generating Tree
|
||||||
python3 main.py build tree -D 2 --no-signal
|
python3 main.py build tree -D 2 --no-signal
|
||||||
|
|
||||||
build: clean
|
dockerignore:
|
||||||
|
@echo Create dockerignore
|
||||||
|
cat .gitignore > .dockerignore
|
||||||
|
echo ".git" >> .dockerignore
|
||||||
|
|
||||||
|
build: clean dockerignore
|
||||||
@echo "🔧 Generating users defaults → $(USERS_OUT)…"
|
@echo "🔧 Generating users defaults → $(USERS_OUT)…"
|
||||||
python3 $(USERS_SCRIPT) \
|
python3 $(USERS_SCRIPT) \
|
||||||
--roles-dir $(ROLES_DIR) \
|
--roles-dir $(ROLES_DIR) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user