mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-19 00:36:04 +02:00
Created autocreate of .dockerignore via Makefile
This commit is contained in:
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) \
|
||||||
|
Reference in New Issue
Block a user