mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 09:18:48 -03:30
Add standalone target for rendering official Dockerfile
With the next commit it will be possible to run: ``` $ make Dockerfile $ docker build . ```
This commit is contained in:
3
Makefile
3
Makefile
@@ -622,3 +622,6 @@ psql-container:
|
|||||||
|
|
||||||
VERSION:
|
VERSION:
|
||||||
@echo "awx: $(VERSION)"
|
@echo "awx: $(VERSION)"
|
||||||
|
|
||||||
|
Dockerfile: installer/roles/image_build/templates/Dockerfile.j2
|
||||||
|
ansible localhost -m template -a "src=installer/roles/image_build/templates/Dockerfile.j2 dest=Dockerfile"
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
{% if build_dev|bool %}
|
{% if build_dev|default(False)|bool %}
|
||||||
### This file is generated from
|
### This file is generated from
|
||||||
### installer/roles/image_build/templates/Dockerfile.j2
|
### installer/roles/image_build/templates/Dockerfile.j2
|
||||||
###
|
###
|
||||||
### DO NOT EDIT
|
### DO NOT EDIT
|
||||||
###
|
###
|
||||||
|
{% else %}
|
||||||
|
{% set build_dev = False %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Locations - set globally to be used across stages
|
# Locations - set globally to be used across stages
|
||||||
|
|||||||
Reference in New Issue
Block a user