mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -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:
parent
2a353a809b
commit
8ceb505977
3
Makefile
3
Makefile
@ -622,3 +622,6 @@ psql-container:
|
||||
|
||||
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
|
||||
### installer/roles/image_build/templates/Dockerfile.j2
|
||||
###
|
||||
### DO NOT EDIT
|
||||
###
|
||||
{% else %}
|
||||
{% set build_dev = False %}
|
||||
{% endif %}
|
||||
|
||||
# Locations - set globally to be used across stages
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user