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:
Shane McDonald 2020-12-26 13:01:25 -05:00
parent 2a353a809b
commit 8ceb505977
2 changed files with 6 additions and 1 deletions

View File

@ -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"

View File

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